Home
last modified time | relevance | path

Searched refs:GetByID (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/chrome/common/
Dpepper_permission_util.cc50 const Extension* extension = extension_set ? extension_set->GetByID(host) in IsExtensionOrSharedModuleWhitelisted()
59 const Extension* imported_extension = extension_set->GetByID( in IsExtensionOrSharedModuleWhitelisted()
90 const Extension* extension = extension_set->GetByID(host); in IsHostAllowedByCommandLine()
/external/chromium/chrome/common/extensions/
Dextension_set_unittest.cc69 EXPECT_EQ(ext1, extensions.GetByID(ext1->id())); in TEST()
74 EXPECT_EQ(ext2, extensions.GetByID(ext1->id())); in TEST()
116 EXPECT_FALSE(extensions.GetByID(ext2->id())); in TEST()
Dextension_set.cc45 return GetByID(url.host()); in GetByURL()
61 const Extension* ExtensionSet::GetByID(const std::string& id) const { in GetByID() function in ExtensionSet
Dextension_set.h53 const Extension* GetByID(const std::string& id) const;
/external/chromium_org/chrome/common/extensions/
Dextension_set_unittest.cc72 EXPECT_EQ(ext1, extensions.GetByID(ext1->id())); in TEST()
77 EXPECT_EQ(ext2, extensions.GetByID(ext1->id())); in TEST()
119 EXPECT_FALSE(extensions.GetByID(ext2->id())); in TEST()
Dextension_set.cc88 return GetByID(url.host()); in GetExtensionOrAppByURL()
120 const Extension* ExtensionSet::GetByID(const std::string& id) const { in GetByID() function in ExtensionSet
/external/chromium_org/chrome/common/extensions/permissions/
Dmedia_galleries_permission_unittest.cc23 PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); in TEST()
80 PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); in TEST()
127 PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); in TEST()
179 PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); in TEST()
202 PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); in TEST()
Dusb_device_permission_unittest.cc53 PermissionsInfo::GetInstance()->GetByID(APIPermission::kUsbDevice)); in TEST()
/external/chromium_org/chrome/browser/extensions/
Dscript_badge_controller.cc56 const Extension* extension = extensions->GetByID(*it); in GetCurrentActions()
88 const Extension* extension = service->extensions()->GetByID(extension_id); in OnClicked()
226 const Extension* extension = service->extensions()->GetByID(extension_id); in AddExtensionToCurrentActions()
Dextension_keybinding_registry.cc105 const Extension* extension = service->extensions()->GetByID(extension_id); in CommandExecuted()
155 extensions()->GetByID(payload->first); in Observe()
Dextension_protocols.cc352 extension_info_map->extensions().GetByID(extension_id); in ExtensionCanLoadInIncognito()
503 extension_info_map_->extensions().GetByID(extension_id); in MaybeCreateJob()
517 extension_info_map_->disabled_extensions().GetByID(extension_id); in MaybeCreateJob()
584 extension_info_map_->extensions().GetByID(new_extension_id); in MaybeCreateJob()
Dscript_bubble_controller.cc46 extension_service->extensions()->GetByID(i->first); in OnScriptsExecuted()
Dextension_function_dispatcher.cc250 extension_info_map->extensions().GetByID(params.extension_id); in DispatchOnIOThread()
337 const Extension* extension = service->extensions()->GetByID( in DispatchWithCallback()
388 if (!service->extensions()->GetByID(params.extension_id)) in DispatchWithCallback()
Dsuggest_permission_util.cc32 PermissionsInfo::GetInstance()->GetByID(permission); in SuggestAPIPermissionInDevToolsConsole()
Dpage_action_controller.cc59 const Extension* extension = service->extensions()->GetByID(extension_id); in OnClicked()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dsettings_overrides_handler.cc258 PermissionsInfo::GetInstance()->GetByID(APIPermission::kSearchProvider), in Parse()
264 PermissionsInfo::GetInstance()->GetByID(APIPermission::kStartupPages), in Parse()
271 PermissionsInfo::GetInstance()->GetByID(APIPermission::kHomepage), in Parse()
/external/chromium_org/extensions/common/permissions/
Dapi_permission_set_unittest.cc44 PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); in TEST()
132 PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); in TEST()
210 PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); in TEST()
279 PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); in TEST()
Dpermissions_info.h30 const APIPermissionInfo* GetByID(APIPermission::ID id) const;
/external/chromium_org/chrome/browser/ui/
Dmedia_utils.cc28 extension = extensions_service->extensions()->GetByID(origin.host()); in RequestMediaAccessPermission()
/external/chromium_org/extensions/browser/
Dinfo_map.cc63 const Extension* extension = extensions_.GetByID(extension_id); in RemoveExtension()
136 const Extension* extension = extensions_.GetByID(id); in GetExtensionsWithAPIPermissionForSecurityOrigin()
Dinfo_map_unittest.cc123 EXPECT_EQ(extension1.get(), info_map->extensions().GetByID(extension1->id())); in TEST_F()
124 EXPECT_EQ(extension2.get(), info_map->extensions().GetByID(extension2->id())); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dhelp_app_launcher.cc53 if (service->extensions()->GetByID(url.host())) in ShowHelpTopic()
/external/chromium_org/chrome/renderer/extensions/
Dpage_actions_custom_bindings.cc31 dispatcher_->extensions()->GetByID(extension_id); in GetCurrentPageActions()
Ddispatcher.cc528 const Extension* extension = extensions_.GetByID(*iter); in WebKitInitialized()
1101 const Extension* extension = extensions_.GetByID(extension_id); in DidCreateScriptContext()
1261 const Extension* extension = extensions_.GetByID(*iter); in IsWithinPlatformApp()
1314 const Extension* extension = extensions_.GetByID(extension_id); in OnActivateExtension()
1414 const Extension* extension = extensions_.GetByID(extension_id); in OnUpdatePermissions()
1456 const Extension* extension = extensions_.GetByID(extension_id); in OnUpdateTabSpecificPermissions()
1472 const Extension* extension = extensions_.GetByID(*it); in OnClearTabSpecificPermissions()
1527 const Extension* extension = extensions_.GetByID(url.host()); in IsSandboxedPage()
1668 const Extension* extension = extensions_.GetByID(extension_id); in InvokeModuleSystemMethod()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_info_ui.cc63 extension_service->extensions()->GetByID(extension_id); in AddExtensionDataToSource()

1234