Home
last modified time | relevance | path

Searched refs:GetExtensionById (Results 1 – 25 of 142) sorted by relevance

123456

/external/chromium_org/extensions/browser/
Dextension_registry_unittest.cc157 TEST_F(ExtensionRegistryTest, GetExtensionById) { in TEST_F() argument
162 registry.GetExtensionById("id", ExtensionRegistry::EVERYTHING)); in TEST_F()
181 registry.GetExtensionById("enabled", ExtensionRegistry::EVERYTHING)); in TEST_F()
183 registry.GetExtensionById("enabled", ExtensionRegistry::ENABLED)); in TEST_F()
185 registry.GetExtensionById("enabled", ExtensionRegistry::DISABLED)); in TEST_F()
187 registry.GetExtensionById("enabled", ExtensionRegistry::TERMINATED)); in TEST_F()
189 registry.GetExtensionById("enabled", ExtensionRegistry::BLACKLISTED)); in TEST_F()
193 registry.GetExtensionById("disabled", ExtensionRegistry::EVERYTHING)); in TEST_F()
195 registry.GetExtensionById("disabled", ExtensionRegistry::ENABLED)); in TEST_F()
197 registry.GetExtensionById("disabled", ExtensionRegistry::DISABLED)); in TEST_F()
[all …]
Dcontent_verifier.cc63 registry->GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); in CreateJobFor()
101 registry->GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); in VerifyFailed()
124 registry->GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); in OnFetchComplete()
Dextension_util.cc16 GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); in IsExtensionInstalledPermanently()
/external/chromium_org/chrome/browser/apps/drive/
Ddrive_app_provider_browsertest.cc213 ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
240 ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
258 EXPECT_FALSE(ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
274 EXPECT_TRUE(ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
281 EXPECT_FALSE(ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
303 EXPECT_TRUE(ExtensionRegistry::Get(profile())->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
344 ->GetExtensionById(url_app_id, ExtensionRegistry::EVERYTHING); in IN_PROC_BROWSER_TEST_F()
363 ->GetExtensionById(url_app_id, ExtensionRegistry::EVERYTHING); in IN_PROC_BROWSER_TEST_F()
373 ->GetExtensionById(new_url_app_id, ExtensionRegistry::EVERYTHING); in IN_PROC_BROWSER_TEST_F()
394 ->GetExtensionById(url_app_id, ExtensionRegistry::EVERYTHING); in IN_PROC_BROWSER_TEST_F()
[all …]
Ddrive_app_provider.cc80 ExtensionRegistry::Get(profile_)->GetExtensionById( in UpdateMappingAndExtensionSystem()
92 const Extension* app = ExtensionRegistry::Get(profile_)->GetExtensionById( in ProcessDeferredOnExtensionInstalled()
137 const Extension* url_app = ExtensionRegistry::Get(profile_)->GetExtensionById( in IsMappedUrlAppUpToDate()
151 ExtensionRegistry::Get(profile_)->GetExtensionById( in AddOrUpdateDriveApp()
188 ->GetExtensionById(chrome_app_id, ExtensionRegistry::EVERYTHING); in ProcessRemovedDriveApp()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_browsertest.cc134 ASSERT_TRUE(service->GetExtensionById(id, true)); in IN_PROC_BROWSER_TEST_F()
291 extension = service->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
318 extension = service->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
379 extension = service->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
382 ASSERT_FALSE(service->GetExtensionById( in IN_PROC_BROWSER_TEST_F()
440 const Extension* extension = service->GetExtensionById(kExtensionId, false); in IN_PROC_BROWSER_TEST_F()
530 const Extension* extension = service->GetExtensionById(kExtensionId, false); in IN_PROC_BROWSER_TEST_F()
554 EXPECT_FALSE(service->GetExtensionById(kExtensionId, true)); in IN_PROC_BROWSER_TEST_F()
595 const Extension* extension = service->GetExtensionById(kExtensionId, false); in IN_PROC_BROWSER_TEST_F()
610 extension = service->GetExtensionById(kExtensionId, false); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmanagement_api_browsertest.cc133 EXPECT_TRUE(service->GetExtensionById(id, false) != NULL); in IN_PROC_BROWSER_TEST_F()
146 EXPECT_TRUE(service->GetExtensionById(id, false) == NULL); in IN_PROC_BROWSER_TEST_F()
232 EXPECT_TRUE(service->GetExtensionById(kId, false) != NULL); in SetUpOnMainThread()
236 EXPECT_TRUE(service->GetExtensionById(kId, false) == NULL); in SetUpOnMainThread()
237 EXPECT_TRUE(service->GetExtensionById(kId, true) != NULL); in SetUpOnMainThread()
315 ->extension_service()->GetExtensionById(kId, false); in IN_PROC_BROWSER_TEST_F()
Dmanagement_apitest.cc163 EXPECT_TRUE(service->GetExtensionById(extension_ids_["enabled_extension"], in IN_PROC_BROWSER_TEST_F()
173 EXPECT_FALSE(service->GetExtensionById(extension_ids_["enabled_extension"], in IN_PROC_BROWSER_TEST_F()
189 EXPECT_TRUE(service->GetExtensionById(extension_ids_["enabled_extension"], in IN_PROC_BROWSER_TEST_F()
239 ASSERT_FALSE(service->GetExtensionById(app_id, true)); in IN_PROC_BROWSER_TEST_F()
299 ASSERT_FALSE(service->GetExtensionById(app_id, true)); in IN_PROC_BROWSER_TEST_F()
Dmanagement_api.cc318 const Extension* extension = service()->GetExtensionById(params->id, true); in RunSync()
337 const Extension* extension = service()->GetExtensionById(params->id, true); in RunSync()
488 const Extension* extension = service()->GetExtensionById(params->id, true); in RunSync()
531 ->GetExtensionById(extension_id_, ExtensionRegistry::EVERYTHING); in RunAsync()
599 service()->GetExtensionById(extension_id_, true); in Uninstall()
648 const Extension* extension = registry->GetExtensionById( in Finish()
753 const Extension* extension = service()->GetExtensionById(params->id, true); in RunAsync()
805 const Extension* extension = service()->GetExtensionById(params->id, true); in RunSync()
/external/chromium_org/chrome/browser/ui/extensions/
Dextension_enable_flow.cc58 const Extension* extension = service->GetExtensionById(extension_id_, true); in Run()
60 extension = extensions::ExtensionRegistry::Get(profile_)->GetExtensionById( in Run()
70 extension = service->GetExtensionById(extension_id_, true); in Run()
86 const Extension* extension = service->GetExtensionById(extension_id_, true); in CheckPermissionAndMaybePromptUser()
158 const Extension* extension = service->GetExtensionById(extension_id_, true); in InstallUIProceed()
/external/chromium_org/chrome/browser/extensions/
Dextension_keybinding_apitest.cc334 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
344 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
379 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
392 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
427 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
440 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
473 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
487 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
523 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
540 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_nacl_browsertest.cc66 extension = service->GetExtensionById(kExtensionId, false); in InstallExtension()
73 extension = service->GetExtensionById(kExtensionId, false); in InstallExtension()
80 extension = service->GetExtensionById(last_loaded_extension_id(), in InstallExtension()
88 extension = service->GetExtensionById(last_loaded_extension_id(), in InstallExtension()
Dcrx_installer_browsertest.cc231 EXPECT_TRUE(service->GetExtensionById(id, false)); in IN_PROC_BROWSER_TEST_F()
374 service->GetExtensionById(extension_id, false); in IN_PROC_BROWSER_TEST_F()
379 EXPECT_FALSE(service->GetExtensionById(extension_id, false)); in IN_PROC_BROWSER_TEST_F()
402 service->GetExtensionById(extension_id, false); in IN_PROC_BROWSER_TEST_F()
425 extension = service->GetExtensionById(extension_id, false); in IN_PROC_BROWSER_TEST_F()
441 extension = service->GetExtensionById(extension_id, false); in IN_PROC_BROWSER_TEST_F()
448 extension = service->GetExtensionById(extension_id, false); in IN_PROC_BROWSER_TEST_F()
521 EXPECT_FALSE(service->GetExtensionById(extension_id, false)); in IN_PROC_BROWSER_TEST_F()
Dshared_module_service_unittest.cc69 if (registry()->GetExtensionById(extension->id(), in InstallExtension()
80 if (!registry()->GetExtensionById(extension->id(), in InstallExtension()
141 EXPECT_FALSE(registry()->GetExtensionById(shared_module->id(), in TEST_F()
Dnavigation_observer.cc89 const Extension* extension = extension_service->GetExtensionById( in InstallUIProceed()
108 const Extension* extension = extension_service->GetExtensionById( in InstallUIAbort()
Dextension_storage_monitor.cc78 const Extension* GetExtensionById(content::BrowserContext* context, in GetExtensionById() function
80 return ExtensionRegistry::Get(context)->GetExtensionById( in GetExtensionById()
313 const Extension* extension = GetExtensionById(context_, in ExtensionUninstallAccepted()
344 const Extension* extension = GetExtensionById(context_, extension_id); in OnStorageThresholdExceeded()
366 const Extension* extension = GetExtensionById(context_, extension_id); in OnImageLoaded()
542 const Extension* extension = GetExtensionById(context_, extension_id); in ShowUninstallPrompt()
Dpending_extension_manager.cc96 if (ExtensionRegistry::Get(context_)->GetExtensionById( in AddFromSync()
134 if (ExtensionRegistry::Get(context_)->GetExtensionById( in AddFromExtensionImport()
174 ->GetExtensionById(id, ExtensionRegistry::EVERYTHING); in AddFromExternalUpdateUrl()
Dextension_service_unittest.cc716 EXPECT_TRUE(service()->GetExtensionById(extension->id(), false)) in VerifyCrxInstall()
1176 EXPECT_TRUE(service()->GetExtensionById(loaded_[0]->id(), false)); in TEST_F()
1492 const Extension* extension = service()->GetExtensionById(good_crx, false); in TEST_F()
1501 extension = service()->GetExtensionById(good_crx, false); in TEST_F()
1527 ASSERT_TRUE(service()->GetExtensionById(good_crx, false)); in TEST_F()
1542 ASSERT_TRUE(NULL == service()->GetExtensionById(good_crx, false)); in TEST_F()
1556 ASSERT_TRUE(NULL == service()->GetExtensionById(good_crx, false)); in TEST_F()
1624 ASSERT_FALSE(service()->GetExtensionById(good_crx, false)); in TEST_F()
1638 ASSERT_TRUE(service()->GetExtensionById(good_crx, false)); in TEST_F()
1661 ASSERT_FALSE(service()->GetExtensionById(good_crx, false)); in TEST_F()
[all …]
Dshared_module_service.cc51 registry->GetExtensionById(iter->extension_id, in CheckImports()
149 registry->GetExtensionById(iter->extension_id, in OnExtensionUninstalled()
/external/chromium_org/chrome/browser/themes/
Dtheme_service_unittest.cc153 EXPECT_TRUE(registry_->GetExtensionById(extension1_id, in TEST_F()
161 EXPECT_TRUE(registry_->GetExtensionById(extension2_id, in TEST_F()
173 EXPECT_TRUE(registry_->GetExtensionById(extension1_id, in TEST_F()
208 EXPECT_TRUE(registry_->GetExtensionById(extension1_id, in TEST_F()
223 EXPECT_TRUE(registry_->GetExtensionById(extension1_id, in TEST_F()
229 EXPECT_TRUE(registry_->GetExtensionById(extension1_id, in TEST_F()
/external/chromium_org/extensions/browser/api/runtime/
Druntime_apitest.cc115 if (registry->GetExtensionById(extension_id, in IN_PROC_BROWSER_TEST_F()
124 registry->GetExtensionById(extension_id, ExtensionRegistry::TERMINATED)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_state_tracker.cc64 const Extension* GetExtensionById(Profile* profile, in GetExtensionById() function
69 return service->GetExtensionById(extension_id, false); in GetExtensionById()
261 const Extension* extension = GetExtensionById(profile_, extension_id); in SetupGalleryWatch()
290 const Extension* extension = GetExtensionById(profile_, extension_id); in RemoveGalleryWatch()
/external/chromium_org/chrome/browser/extensions/api/commands/
Dcommand_service_browsertest.cc64 EXPECT_TRUE(service->GetExtensionById(kId, false) != NULL); in IN_PROC_BROWSER_TEST_F()
85 EXPECT_TRUE(service->GetExtensionById(kId, false) != NULL); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_manager_util.cc29 service->GetExtensionById(extension_misc::kWallpaperManagerId, false); in OpenWallpaperManager()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc1460 ASSERT_FALSE(service->GetExtensionById(kGoodCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1461 ASSERT_FALSE(service->GetExtensionById(kAdBlockCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1471 EXPECT_FALSE(service->GetExtensionById(kGoodCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1478 service->GetExtensionById(kAdBlockCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1491 ASSERT_FALSE(service->GetExtensionById(kGoodCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1492 ASSERT_TRUE(service->GetExtensionById(kAdBlockCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1501 ASSERT_FALSE(service->GetExtensionById(kAdBlockCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1505 EXPECT_FALSE(service->GetExtensionById(kAdBlockCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1507 EXPECT_FALSE(service->GetExtensionById(kGoodCrxId, true)); in IN_PROC_BROWSER_TEST_F()
1513 ASSERT_FALSE(service->GetExtensionById(kGoodCrxId, true)); in IN_PROC_BROWSER_TEST_F()
[all …]

123456