BackgroundInfo 319 chrome/browser/background/background_application_list_model.cc if (extensions::BackgroundInfo::HasBackgroundPage(&extension)) BackgroundInfo 62 chrome/browser/background/background_contents_service.cc using extensions::BackgroundInfo; BackgroundInfo 399 chrome/browser/background/background_contents_service.cc if (extension && BackgroundInfo::HasBackgroundPage(extension)) BackgroundInfo 410 chrome/browser/background/background_contents_service.cc BackgroundInfo::HasBackgroundPage(extension)) { BackgroundInfo 423 chrome/browser/background/background_contents_service.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 486 chrome/browser/background/background_contents_service.cc if (BackgroundInfo::HasBackgroundPage(extension)) { BackgroundInfo 570 chrome/browser/background/background_contents_service.cc if (extension && BackgroundInfo::HasBackgroundPage(extension)) { BackgroundInfo 572 chrome/browser/background/background_contents_service.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 620 chrome/browser/background/background_contents_service.cc BackgroundInfo::HasBackgroundPage(extension)) { BackgroundInfo 622 chrome/browser/background/background_contents_service.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 1046 chrome/browser/chrome_content_browser_client.cc !extensions::BackgroundInfo::AllowJSAccess(extension)) { BackgroundInfo 1238 chrome/browser/chrome_content_browser_client.cc if (!extensions::BackgroundInfo::HasBackgroundPage(extension)) BackgroundInfo 2143 chrome/browser/chrome_content_browser_client.cc if (extension && !extensions::BackgroundInfo::AllowJSAccess(extension)) BackgroundInfo 318 chrome/browser/chromeos/file_manager/file_browser_handlers.cc !extensions::BackgroundInfo::HasLazyBackgroundPage(extension_.get())) { BackgroundInfo 254 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc extensions::BackgroundInfo::GetBackgroundURL(extension_).path(), BackgroundInfo 177 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc extensions::BackgroundInfo::GetBackgroundURL(extension).spec()); BackgroundInfo 44 chrome/browser/extensions/api/context_menus/context_menus_api.cc if (BackgroundInfo::HasLazyBackgroundPage(GetExtension())) { BackgroundInfo 133 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (!is_webview && BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 466 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::HasGeneratedBackgroundPage(extension); BackgroundInfo 479 chrome/browser/extensions/api/developer_private/developer_private_api.cc (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 499 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::HasGeneratedBackgroundPage(extension); BackgroundInfo 507 chrome/browser/extensions/api/developer_private/developer_private_api.cc (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 559 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 563 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 567 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::HasGeneratedBackgroundPage(extension))); BackgroundInfo 582 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 586 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 590 chrome/browser/extensions/api/developer_private/developer_private_api.cc BackgroundInfo::HasGeneratedBackgroundPage(extension))); BackgroundInfo 62 chrome/browser/extensions/api/messaging/extension_message_port.cc if (host && BackgroundInfo::HasLazyBackgroundPage(host->extension())) BackgroundInfo 661 chrome/browser/extensions/api/messaging/message_service.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 104 chrome/browser/extensions/api/runtime/runtime_api.cc if (extension && BackgroundInfo::HasPersistentBackgroundPage(extension) && BackgroundInfo 34 chrome/browser/extensions/extension_api_unittest.cc AddTab(browser(), BackgroundInfo::GetBackgroundURL(extension())); BackgroundInfo 210 chrome/browser/extensions/extension_protocols.cc extensions::BackgroundInfo::GetBackgroundScripts(extension_.get()); BackgroundInfo 2378 chrome/browser/extensions/extension_service.cc if (extensions::BackgroundInfo::HasPersistentBackgroundPage(old)) { BackgroundInfo 1398 chrome/browser/extensions/extension_service_unittest.cc extensions::BackgroundInfo::GetBackgroundURL(loaded_[1].get())); BackgroundInfo 110 chrome/browser/extensions/installed_loader.cc if (!BackgroundInfo::HasBackgroundPage(extension)) BackgroundInfo 112 chrome/browser/extensions/installed_loader.cc if (BackgroundInfo::HasPersistentBackgroundPage(extension)) BackgroundInfo 784 chrome/browser/extensions/menu_manager.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 851 chrome/browser/extensions/menu_manager.cc if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) { BackgroundInfo 2331 chrome/browser/ui/browser.cc bool allow_js_access = extensions::BackgroundInfo::AllowJSAccess(extension); BackgroundInfo 1198 chrome/browser/ui/webui/extensions/extension_settings_handler.cc if (BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 1202 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 1206 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::HasGeneratedBackgroundPage(extension))); BackgroundInfo 1223 chrome/browser/ui/webui/extensions/extension_settings_handler.cc if (BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 1227 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::GetBackgroundURL(extension), BackgroundInfo 1231 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::HasGeneratedBackgroundPage(extension))); BackgroundInfo 1243 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::HasGeneratedBackgroundPage(extension); BackgroundInfo 1257 chrome/browser/ui/webui/extensions/extension_settings_handler.cc (url == BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 1278 chrome/browser/ui/webui/extensions/extension_settings_handler.cc BackgroundInfo::HasGeneratedBackgroundPage(extension); BackgroundInfo 1287 chrome/browser/ui/webui/extensions/extension_settings_handler.cc (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 41 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc BackgroundInfo::GetBackgroundScripts(extension.get()); BackgroundInfo 46 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc EXPECT_TRUE(BackgroundInfo::HasBackgroundPage(extension.get())); BackgroundInfo 49 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc BackgroundInfo::GetBackgroundURL(extension.get()).path()); BackgroundInfo 61 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc BackgroundInfo::GetBackgroundURL(extension.get()).path()); BackgroundInfo 62 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc EXPECT_TRUE(BackgroundInfo::AllowJSAccess(extension.get())); BackgroundInfo 71 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc BackgroundInfo::GetBackgroundURL(extension.get()).path()); BackgroundInfo 83 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get())); BackgroundInfo 87 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get())); BackgroundInfo 102 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc EXPECT_TRUE(BackgroundInfo::HasLazyBackgroundPage(extension.get())); BackgroundInfo 103 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc BackgroundInfo::GetServiceWorkerScript(extension.get())); BackgroundInfo 105 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc EXPECT_TRUE(BackgroundInfo::HasServiceWorker(extension.get())); BackgroundInfo 339 chrome/renderer/extensions/dispatcher.cc return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 1183 chrome/renderer/extensions/dispatcher.cc BackgroundInfo::HasLazyBackgroundPage(extension)); BackgroundInfo 1689 chrome/renderer/extensions/dispatcher.cc if (extension && BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 318 chrome/renderer/extensions/event_bindings.cc return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) && BackgroundInfo 634 extensions/browser/event_router.cc if (BackgroundInfo::HasLazyBackgroundPage(extension)) { BackgroundInfo 652 extensions/browser/event_router.cc BackgroundInfo::HasLazyBackgroundPage(host->extension())) BackgroundInfo 685 extensions/browser/event_router.cc if (BackgroundInfo::HasLazyBackgroundPage(extension)) { BackgroundInfo 152 extensions/browser/extension_host.cc extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { BackgroundInfo 270 extensions/browser/extension_host.cc if (extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { BackgroundInfo 46 extensions/browser/lazy_background_task_queue.cc if (BackgroundInfo::HasBackgroundPage(extension)) { BackgroundInfo 79 extensions/browser/lazy_background_task_queue.cc if (extension && BackgroundInfo::HasLazyBackgroundPage(extension)) { BackgroundInfo 88 extensions/browser/lazy_background_task_queue.cc extension, BackgroundInfo::GetBackgroundURL(extension))) { BackgroundInfo 111 extensions/browser/lazy_background_task_queue.cc if (BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 129 extensions/browser/lazy_background_task_queue.cc if (host && BackgroundInfo::HasLazyBackgroundPage(extension)) { BackgroundInfo 123 extensions/browser/process_manager.cc if (BackgroundInfo::HasPersistentBackgroundPage(extension)) BackgroundInfo 125 extensions/browser/process_manager.cc BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 414 extensions/browser/process_manager.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 421 extensions/browser/process_manager.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 430 extensions/browser/process_manager.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 472 extensions/browser/process_manager.cc if (!BackgroundInfo::HasLazyBackgroundPage(extension)) BackgroundInfo 823 extensions/browser/process_manager.cc if (BackgroundInfo::HasLazyBackgroundPage(host->extension())) { BackgroundInfo 22 extensions/browser/runtime_data.cc if (!BackgroundInfo::HasPersistentBackgroundPage(extension)) BackgroundInfo 37 extensions/common/manifest_handlers/background_info.cc static base::LazyInstance<BackgroundInfo> g_empty_background_info = BackgroundInfo 40 extensions/common/manifest_handlers/background_info.cc const BackgroundInfo& GetBackgroundInfo(const Extension* extension) { BackgroundInfo 41 extensions/common/manifest_handlers/background_info.cc BackgroundInfo* info = static_cast<BackgroundInfo*>( BackgroundInfo 50 extensions/common/manifest_handlers/background_info.cc BackgroundInfo::BackgroundInfo() BackgroundInfo 55 extensions/common/manifest_handlers/background_info.cc BackgroundInfo::~BackgroundInfo() { BackgroundInfo 59 extensions/common/manifest_handlers/background_info.cc GURL BackgroundInfo::GetBackgroundURL(const Extension* extension) { BackgroundInfo 60 extensions/common/manifest_handlers/background_info.cc const BackgroundInfo& info = GetBackgroundInfo(extension); BackgroundInfo 67 extensions/common/manifest_handlers/background_info.cc const std::vector<std::string>& BackgroundInfo::GetBackgroundScripts( BackgroundInfo 73 extensions/common/manifest_handlers/background_info.cc const std::string& BackgroundInfo::GetServiceWorkerScript( BackgroundInfo 79 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasBackgroundPage(const Extension* extension) { BackgroundInfo 84 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasPersistentBackgroundPage(const Extension* extension) { BackgroundInfo 89 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasLazyBackgroundPage(const Extension* extension) { BackgroundInfo 94 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasGeneratedBackgroundPage(const Extension* extension) { BackgroundInfo 95 extensions/common/manifest_handlers/background_info.cc const BackgroundInfo& info = GetBackgroundInfo(extension); BackgroundInfo 100 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasServiceWorker(const Extension* extension) { BackgroundInfo 105 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::AllowJSAccess(const Extension* extension) { BackgroundInfo 109 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::Parse(const Extension* extension, base::string16* error) { BackgroundInfo 135 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadServiceWorkerScript(const Extension* extension, BackgroundInfo 156 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundScripts(const Extension* extension, BackgroundInfo 184 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPage(const Extension* extension, BackgroundInfo 225 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPage(const Extension* extension, BackgroundInfo 239 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPersistent(const Extension* extension, BackgroundInfo 264 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadAllowJSAccess(const Extension* extension, BackgroundInfo 288 extensions/common/manifest_handlers/background_info.cc scoped_ptr<BackgroundInfo> info(new BackgroundInfo); BackgroundInfo 316 extensions/common/manifest_handlers/background_info.cc BackgroundInfo::GetBackgroundScripts(extension); BackgroundInfo 330 extensions/common/manifest_handlers/background_info.cc if (BackgroundInfo::HasBackgroundPage(extension) && BackgroundInfo 333 extensions/common/manifest_handlers/background_info.cc BackgroundInfo::GetBackgroundURL(extension)); BackgroundInfo 18 extensions/common/manifest_handlers/background_info.h class BackgroundInfo : public Extension::ManifestData { BackgroundInfo 20 extensions/common/manifest_handlers/background_info.h BackgroundInfo(); BackgroundInfo 21 extensions/common/manifest_handlers/background_info.h virtual ~BackgroundInfo(); BackgroundInfo 88 extensions/common/manifest_handlers/background_info.h DISALLOW_COPY_AND_ASSIGN(BackgroundInfo);