/external/chromium_org/extensions/browser/ |
D | extension_registry_unittest.cc | 157 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 …]
|
D | content_verifier.cc | 63 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()
|
D | extension_util.cc | 16 GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); in IsExtensionInstalledPermanently()
|
/external/chromium_org/chrome/browser/apps/drive/ |
D | drive_app_provider_browsertest.cc | 213 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 …]
|
D | drive_app_provider.cc | 80 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/ |
D | management_browsertest.cc | 134 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 …]
|
D | management_api_browsertest.cc | 133 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()
|
D | management_apitest.cc | 163 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()
|
D | management_api.cc | 318 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/ |
D | extension_enable_flow.cc | 58 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/ |
D | extension_keybinding_apitest.cc | 334 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 …]
|
D | extension_nacl_browsertest.cc | 66 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()
|
D | crx_installer_browsertest.cc | 231 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()
|
D | shared_module_service_unittest.cc | 69 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()
|
D | navigation_observer.cc | 89 const Extension* extension = extension_service->GetExtensionById( in InstallUIProceed() 108 const Extension* extension = extension_service->GetExtensionById( in InstallUIAbort()
|
D | extension_storage_monitor.cc | 78 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()
|
D | pending_extension_manager.cc | 96 if (ExtensionRegistry::Get(context_)->GetExtensionById( in AddFromSync() 134 if (ExtensionRegistry::Get(context_)->GetExtensionById( in AddFromExtensionImport() 174 ->GetExtensionById(id, ExtensionRegistry::EVERYTHING); in AddFromExternalUpdateUrl()
|
D | extension_service_unittest.cc | 716 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 …]
|
D | shared_module_service.cc | 51 registry->GetExtensionById(iter->extension_id, in CheckImports() 149 registry->GetExtensionById(iter->extension_id, in OnExtensionUninstalled()
|
/external/chromium_org/chrome/browser/themes/ |
D | theme_service_unittest.cc | 153 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/ |
D | runtime_apitest.cc | 115 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/ |
D | gallery_watch_state_tracker.cc | 64 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/ |
D | command_service_browsertest.cc | 64 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/ |
D | wallpaper_manager_util.cc | 29 service->GetExtensionById(extension_misc::kWallpaperManagerId, false); in OpenWallpaperManager()
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_browsertest.cc | 1460 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 …]
|