/external/chromium_org/apps/ |
D | saved_files_service_unittest.cc | 40 extension_ = env_.MakeExtension(*base::test::ParseJson( in SetUp() 65 EXPECT_TRUE(service_->IsRegistered(extension_->id(), id_string)); in CheckEntrySequenceNumber() 67 service_->GetFileEntry(extension_->id(), id_string); in CheckEntrySequenceNumber() 84 const extensions::Extension* extension_; member in SavedFilesServiceUnitTest 90 service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true); in TEST_F() 91 service_->RegisterFileEntry(extension_->id(), GenerateId(2), path_, true); in TEST_F() 92 service_->RegisterFileEntry(extension_->id(), GenerateId(3), path_, true); in TEST_F() 100 service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); in TEST_F() 106 service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); in TEST_F() 112 service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); in TEST_F() [all …]
|
D | saved_devices_service_unittest.cc | 65 extension_ = env_.MakeExtension(*base::test::ParseJson( in SetUp() 84 const extensions::Extension* extension_; member in apps::SavedDevicesServiceTest 94 service_->GetOrInsert(extension_->id()); in TEST_F() 111 service_->GetAllDevices(extension_->id()); in TEST_F() 122 service_->Clear(extension_->id()); in TEST_F() 125 saved_devices = service_->GetOrInsert(extension_->id()); in TEST_F() 127 device_entries = service_->GetAllDevices(extension_->id()); in TEST_F() 142 extension_->id(), "devices", prefs_value.release()); in TEST_F() 145 service_->GetOrInsert(extension_->id()); in TEST_F()
|
D | launcher.cc | 105 extension_(extension), in PlatformAppPathLauncher() 112 : profile_(profile), extension_(extension), collector_(profile) { in PlatformAppPathLauncher() 120 LaunchPlatformAppWithNoData(profile_, extension_); in Launch() 128 if (HasFileSystemWritePermission(extension_)) { in Launch() 193 LaunchPlatformAppWithNoData(profile_, extension_); in LaunchWithNoLaunchData() 209 handler = FileHandlerForId(*extension_, handler_id_); in OnMimeTypesCollected() 230 *extension_, path_and_file_type_set); in OnMimeTypesCollected() 253 if (queue->ShouldEnqueueTask(profile_, extension_)) { in OnMimeTypesCollected() 256 extension_->id(), in OnMimeTypesCollected() 265 process_manager->GetBackgroundHostForExtension(extension_->id()); in OnMimeTypesCollected() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_disabled_ui.cc | 110 const Extension* extension_; member in ExtensionDisabledDialogDelegate 119 extension_(extension) { in ExtensionDisabledDialogDelegate() 121 install_ui_->ConfirmReEnable(this, extension_); in ExtensionDisabledDialogDelegate() 128 service_->GrantPermissionsAndEnableExtension(extension_); in InstallUIProceed() 137 extension_, histogram_name.c_str()); in InstallUIAbort() 183 const Extension* extension_; member in ExtensionDisabledGlobalError 211 extension_(extension), in ExtensionDisabledGlobalError() 219 extension_->is_app() ? in ExtensionDisabledGlobalError() 259 std::string extension_name = extension_->name(); in MenuItemLabel() 286 base::UTF8ToUTF16(extension_->name())); in GetBubbleViewTitle() [all …]
|
D | extension_uninstall_dialog.cc | 45 extension_(NULL), in ExtensionUninstallDialog() 62 extension_ = extension; in ConfirmUninstall() 64 const int icon_size = extension_->from_bookmark() in ConfirmUninstall() 68 extension_, icon_size, ExtensionIconSet::MATCH_BIGGER); in ConfirmUninstall() 80 loader->LoadImagesAsync(extension_, in ConfirmUninstall() 84 extension_->id())); in ConfirmUninstall() 95 GetDefaultIconBitmapForMaxScaleFactor(extension_->is_app())); in SetIcon() 120 base::UTF8ToUTF16(extension_->name())); in GetHeadingText() 123 base::UTF8ToUTF16(extension_->name())); in GetHeadingText()
|
D | extension_install_prompt.cc | 232 extension_(NULL), in Prompt() 295 if (extension_->is_app()) in GetDialogTitle() 297 else if (extension_->is_theme()) in GetDialogTitle() 303 resource_id, base::UTF8ToUTF16(extension_->name())); in GetDialogTitle() 305 if (extension_->is_app()) in GetDialogTitle() 310 if (extension_->is_app()) in GetDialogTitle() 321 return base::UTF8ToUTF16(extension_->name()); in GetHeading() 326 if (extension_->is_app()) in GetHeading() 328 else if (extension_->is_theme()) in GetHeading() 335 kHeadingIds[type_], base::UTF8ToUTF16(extension_->name())); in GetHeading() [all …]
|
D | extension_management_unittest.cc | 140 extension_ = Extension::Create(base::FilePath(), location, *values, in CreateExtensionFromValues() 142 ASSERT_TRUE(extension_.get()); in CreateExtensionFromValues() 157 scoped_refptr<Extension> extension_; member in extensions::ExtensionAdminPolicyTest 576 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F() 578 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), &error)); in TEST_F() 583 blacklist.Append(new base::StringValue(extension_->id())); in TEST_F() 585 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F() 589 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F() 595 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F() 598 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F() [all …]
|
D | extension_install_checker.cc | 36 if (!extension_.get()) { in Start() 70 DCHECK(extension_.get()); in CheckManagementPolicy() 74 extension_.get(), &error); in CheckManagementPolicy() 90 DCHECK(extension_.get()); in CheckRequirements() 95 extension_, in CheckRequirements() 115 DCHECK(extension_.get()); in CheckBlacklistState() 120 extension_->id(), in CheckBlacklistState()
|
D | extension_api_unittest.h | 47 const Extension* extension() const { return extension_.get(); } in extension() 48 scoped_refptr<Extension> extension_ref() { return extension_; } in extension_ref() 50 extension_ = extension; in set_extension() 95 scoped_refptr<Extension> extension_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | extension_action_context_menu_controller.mm | 49 : extension_(extension), 54 extension_uninstall_dialog_->ConfirmUninstall(extension_); 63 ->UninstallExtension(extension_->id(), 72 const Extension* extension_; 99 extension_ = extension; 110 [menu addItemWithTitle:base::SysUTF8ToNSString(extension_->name()) 115 extension_).is_valid()]; 125 ->WantsToRun(extension_)) { 140 extension_).spec().length() > 0]; 152 browser_->profile())->GetBrowserAction(*extension_)) { [all …]
|
D | extension_action_context_menu_controller_browsertest.mm | 44 ExtensionActionContextMenuControllerTest() : extension_(NULL), action_(NULL) { 49 extension_ = InstallExtension( 53 EXPECT_TRUE(extension_); 56 action_ = action_manager->GetPageAction(*extension_); 73 const Extension* extension_; 80 [[ExtensionActionContextMenuController alloc] initWithExtension:extension_ 108 extension_ = 112 EXPECT_TRUE(extension_); 115 action_ = action_manager->GetBrowserAction(*extension_); 124 initWithExtension:extension_ [all …]
|
/external/chromium_org/remoting/host/ |
D | fake_host_extension.cc | 33 FakeExtension* extension_; member in remoting::FakeExtension::Session 41 : extension_(extension), in Session() 47 extension_->has_wrapped_video_capturer_ = true; in OnCreateVideoCapturer() 48 if (extension_->steal_video_capturer_) { in OnCreateVideoCapturer() 55 extension_->has_wrapped_video_encoder_ = true; in OnCreateVideoEncoder() 59 return extension_->steal_video_capturer_; in ModifiesVideoPipeline() 67 extension_->has_handled_message_ = true; in OnExtensionMessage()
|
/external/chromium_org/third_party/webrtc/base/ |
D | pathutils.cc | 84 extension_.clear(); in clear() 88 return folder_.empty() && basename_.empty() && extension_.empty(); in empty() 94 pathname.append(extension_); in pathname() 112 s += extension_; in url() 196 return extension_; in extension() 204 extension_.assign(extension); in SetExtension() 206 if (!extension_.empty() && (extension_[0] != EXT_DELIM)) { in SetExtension() 207 extension_.insert(extension_.begin(), EXT_DELIM); in SetExtension() 214 filename.append(extension_); in filename()
|
/external/chromium_org/extensions/shell/browser/ |
D | shell_extension_system.cc | 47 extension_ = file_util::LoadExtension( in LoadApp() 49 if (!extension_.get()) { in LoadApp() 54 app_id_ = extension_->id(); in LoadApp() 63 ExtensionRegistry::Get(browser_context_)->AddEnabled(extension_); in LoadApp() 65 RegisterExtensionWithRequestContexts(extension_.get()); in LoadApp() 70 content::Details<const Extension>(extension_.get())); in LoadApp() 83 DCHECK(extension_.get()); in LaunchApp() 85 extension_.get()); in LaunchApp()
|
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
D | webrequest_action_unittest.cc | 98 scoped_refptr<Extension> extension_; member in extensions::WebRequestActionWithThreadsTest 111 extension_ = LoadManifestUnchecked("permissions", in SetUp() 117 ASSERT_TRUE(extension_.get()) << error; in SetUp() 129 extension_.get(), in SetUp() 168 "http://test.com", extension_->id(), action_set.get(), stage)); in CheckActionNeedsAllUrls() 175 "http://clients1.google.com", extension_->id(), action_set.get(), stage)); in CheckActionNeedsAllUrls() 345 extension_->id(), in TEST_F() 356 extension_->id(), in TEST_F() 430 extension_->id(), in TEST_F() 445 extension_->id(), in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_scan_result_controller.cc | 66 extension_(&extension), in MediaGalleriesScanResultController() 91 extension_(&extension), in MediaGalleriesScanResultController() 109 base::UTF8ToUTF16(extension_->name())); in GetHeader() 118 extension_->permissions_data(); in GetSubtext() 132 return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); in GetSubtext() 222 *extension_, it->first, true); in DialogFinished() 313 UpdateScanResultsFromPreferences(preferences_, extension_, in OnPreferencesInitialized() 322 if (extension_id == extension_->id()) { in OnPreferenceUpdate() 323 UpdateScanResultsFromPreferences(preferences_, extension_, in OnPreferenceUpdate() 372 OnPreferenceUpdate(extension_->id()); in OnGalleryAdded() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
D | request_content_script_apitest.cc | 111 const Extension* extension_; member in extensions::RequestContentScriptAPITest 115 : extension_(NULL) {} in RequestContentScriptAPITest() 121 if (extension_) in RunTest() 122 UnloadExtension(extension_->id()); in RunTest() 132 injection_succeeded_listener.set_extension_id(extension_->id()); in RunTest() 185 extension_ = extension; in CreateAndLoadExtension()
|
/external/chromium_org/extensions/browser/ |
D | extension_icon_image.cc | 134 extension_(extension), in IconImage() 160 if (!extension_) in LoadImageForScaleFactor() 170 resource = GetExtensionIconResource(extension_, in LoadImageForScaleFactor() 177 resource = GetExtensionIconResource(extension_, icon_set_, in LoadImageForScaleFactor() 195 loader->LoadImagesAsync(extension_, info_list, in LoadImageForScaleFactor() 230 if (extension_ == extension) in Observe() 231 extension_ = NULL; in Observe()
|
D | extension_host.cc | 119 extension_(extension), in ExtensionHost() 153 extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { in ~ExtensionHost() 228 if (extension_ == content::Details<UnloadedExtensionInfo>(details)-> in Observe() 230 extension_ = NULL; in Observe() 253 if (!extension_) in RenderProcessGone() 271 if (extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { in DidStopLoading() 316 ->SetBackgroundPageReady(extension_, true); in OnDocumentAvailable() 319 content::Source<const Extension>(extension_), in OnDocumentAvailable()
|
D | api_unittest.h | 42 const Extension* extension() const { return extension_.get(); } in extension() 43 scoped_refptr<Extension> extension_ref() { return extension_; } in extension_ref() 45 extension_ = extension; in set_extension() 91 scoped_refptr<Extension> extension_; variable
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | Phonenumber.java | 76 private java.lang.String extension_ = ""; field in Phonenumber.PhoneNumber 78 public String getExtension() { return extension_; } in getExtension() 84 extension_ = value; in setExtension() 89 extension_ = ""; in clearExtension() 230 extension_.equals(other.extension_) && italianLeadingZero_ == other.italianLeadingZero_ && in exactlySameAs() 273 outputString.append(" Extension: ").append(extension_); in toString()
|
/external/chromium_org/chrome/browser/extensions/api/debugger/ |
D | debugger_apitest.cc | 41 const Extension* extension() const { return extension_.get(); } in extension() 50 scoped_refptr<const Extension> extension_; member in extensions::DebuggerApiTest 61 extension_ = in SetUpOnMainThread() 78 attach_function->set_extension(extension_.get()); in RunAttachFunction() 101 detach_function->set_extension(extension_.get()); in RunAttachFunction()
|
/external/chromium_org/extensions/browser/api/hid/ |
D | hid_api.cc | 86 return connection_manager_->Get(extension_->id(), api_resource_id); in GetHidConnectionResource() 90 connection_manager_->Remove(extension_->id(), api_resource_id); in RemoveHidConnectionResource() 161 new HidConnectionResource(extension_->id(), connection)); in AsyncWorkStart() 179 connection_manager_->Get(extension_->id(), connection_id); in AsyncWorkStart() 184 connection_manager_->Remove(extension_->id(), connection_id); in AsyncWorkStart() 201 connection_manager_->Get(extension_->id(), connection_id); in AsyncWorkStart() 243 connection_manager_->Get(extension_->id(), connection_id); in AsyncWorkStart() 279 connection_manager_->Get(extension_->id(), connection_id); in AsyncWorkStart() 317 connection_manager_->Get(extension_->id(), connection_id); in AsyncWorkStart()
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
D | media_galleries_watch_apitest.cc | 75 : extension_(NULL), in MediaGalleriesPrivateGalleryWatchApiTest() 91 extension_ = LoadExtension(test_data_dir_.AppendASCII(kTestExtensionPath)); in SetUpOnMainThread() 97 extension_ = NULL; in TearDownOnMainThread() 136 ASSERT_TRUE(extension_); in GetBackgroundHostForTestExtension() 141 extension_->id())->render_view_host(); in GetBackgroundHostForTestExtension() 168 preferences->SetGalleryPermissionForExtension(*extension_, id, true); in CreateTestGallery() 182 const extensions::Extension* extension_; member in MediaGalleriesPrivateGalleryWatchApiTest
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries/ |
D | media_galleries_watch_apitest.cc | 81 : extension_(NULL), background_host_(NULL) {} in MediaGalleriesGalleryWatchApiTest() 94 extension_ = LoadExtension(test_data_dir_.AppendASCII(kTestExtensionPath)); in SetUpOnMainThread() 100 extension_ = NULL; in TearDownOnMainThread() 140 ASSERT_TRUE(extension_); in GetBackgroundHostForTestExtension() 144 ->GetBackgroundHostForExtension(extension_->id()) in GetBackgroundHostForTestExtension() 174 preferences->SetGalleryPermissionForExtension(*extension_, id, true); in CreateTestGallery() 188 const extensions::Extension* extension_; member in MediaGalleriesGalleryWatchApiTest
|