Home
last modified time | relevance | path

Searched refs:browser_context_ (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/chromium_org/extensions/browser/api/declarative/
Drules_cache_delegate.cc40 : browser_context_(NULL), in RulesCacheDelegate()
69 browser_context_ = registry->browser_context(); in Init()
72 browser_context_->IsOffTheRecord()); in Init()
74 browser_context_->IsOffTheRecord()); in Init()
77 ExtensionSystem& system = *ExtensionSystem::Get(browser_context_); in Init()
82 if (browser_context_->IsOffTheRecord()) in Init()
97 if (!browser_context_) in WriteToStorage()
108 StateStore* store = ExtensionSystem::Get(browser_context_)->rules_store(); in WriteToStorage()
127 bool is_ready = ExtensionSystem::Get(browser_context_)->ready().is_signaled(); in ReadRulesForInstalledExtensions()
130 DCHECK(!browser_context_->IsOffTheRecord() || is_ready); in ReadRulesForInstalledExtensions()
[all …]
/external/chromium_org/chrome/browser/copresence/
Dchrome_whispernet_client.cc25 : browser_context_(browser_context), extension_loaded_(false) { in ChromeWhispernetClient()
36 extensions::ExtensionSystem::Get(browser_context_); in Initialize()
68 DCHECK(browser_context_); in EncodeToken()
69 DCHECK(extensions::EventRouter::Get(browser_context_)); in EncodeToken()
75 browser_context_)); in EncodeToken()
77 extensions::EventRouter::Get(browser_context_) in EncodeToken()
84 DCHECK(browser_context_); in DecodeSamples()
85 DCHECK(extensions::EventRouter::Get(browser_context_)); in DecodeSamples()
91 browser_context_)); in DecodeSamples()
93 extensions::EventRouter::Get(browser_context_) in DecodeSamples()
[all …]
/external/chromium_org/extensions/shell/browser/
Dshell_browser_main_parts.cc112 browser_context_.reset(new ShellBrowserContext); in PreMainMessageLoopRun()
132 new ShellExtensionsBrowserClient(browser_context_.get())); in PreMainMessageLoopRun()
150 browser_context_.get()); in PreMainMessageLoopRun()
155 new ShellNaClBrowserDelegate(browser_context_.get())); in PreMainMessageLoopRun()
163 new content::ShellDevToolsDelegate(browser_context_.get())); in PreMainMessageLoopRun()
170 browser_main_delegate_->Start(browser_context_.get()); in PreMainMessageLoopRun()
188 browser_context_.get()); in PostMainMessageLoopRun()
192 browser_context_.reset(); in PostMainMessageLoopRun()
212 DCHECK(browser_context_); in CreateExtensionSystem()
214 ExtensionSystem::Get(browser_context_.get())); in CreateExtensionSystem()
Dshell_extension_system.cc34 : browser_context_(browser_context) { in ShellExtensionSystem()
63 ExtensionRegistry::Get(browser_context_)->AddEnabled(extension_); in LoadApp()
69 content::Source<BrowserContext>(browser_context_), in LoadApp()
76 content::Source<BrowserContext>(browser_context_), in LoadApp()
84 AppRuntimeEventRouter::DispatchOnLaunchedEvent(browser_context_, in LaunchApp()
93 new RuntimeData(ExtensionRegistry::Get(browser_context_))); in InitForRegularProfile()
95 new LazyBackgroundTaskQueue(browser_context_)); in InitForRegularProfile()
97 new EventRouter(browser_context_, ExtensionPrefs::Get(browser_context_))); in InitForRegularProfile()
98 process_manager_.reset(ProcessManager::Create(browser_context_)); in InitForRegularProfile()
/external/chromium_org/athena/extensions/
Dextension_app_model_builder.cc29 browser_context_(browser_context), in AppItem()
30 icon_image_(browser_context_, in AppItem()
45 ExtensionsDelegate::Get(browser_context_)->LaunchApp(extension_->id()); in Activate()
49 content::BrowserContext* browser_context_; member in athena::__anonfe2ee3280111::AppItem
59 : browser_context_(browser_context) { in ExtensionAppModelBuilder()
66 ExtensionsDelegate* bridge = ExtensionsDelegate::Get(browser_context_); in PopulateApps()
74 new AppItem(*iter, browser_context_))); in PopulateApps()
/external/chromium_org/content/browser/
Dstorage_partition_impl_map.cc363 : browser_context_(browser_context), in StoragePartitionImplMap()
389 browser_context_->GetPath().Append( in Get()
392 StoragePartitionImpl::Create(browser_context_, in_memory, in Get()
397 ChromeBlobStorageContext::GetFor(browser_context_); in Get()
398 StreamContext* stream_context = StreamContext::GetFor(browser_context_); in Get()
412 browser_context_->GetResourceContext(), in Get()
413 browser_context_->IsOffTheRecord(), in Get()
426 browser_context_->GetResourceContext(), in Get()
427 browser_context_->IsOffTheRecord(), in Get()
433 CreateDevToolsProtocolHandler(browser_context_->GetResourceContext(), in Get()
[all …]
/external/chromium_org/athena/main/
Durl_search_provider.cc70 : browser_context_(browser_context), in AthenaAutocompleteProviderClient()
75 return browser_context_->GetRequestContext(); in RequestContext()
78 return browser_context_->IsOffTheRecord(); in IsOffTheRecord()
104 content::BrowserContext* browser_context_; member in athena::__anone8ae43dc0111::AthenaAutocompleteProviderClient
157 : browser_context_(browser_context), in UrlSearchResult()
176 browser_context_, base::string16(), match_.destination_url); in Open()
201 content::BrowserContext* browser_context_; member in athena::__anone8ae43dc0111::UrlSearchResult
210 : browser_context_(browser_context), in UrlSearchProvider()
226 new AthenaAutocompleteProviderClient(browser_context_)))) { in UrlSearchProvider()
236 CreateSchemeClassifier(browser_context_)); in Start()
[all …]
/external/chromium_org/extensions/browser/
Dextension_host.cc121 browser_context_(site_instance->GetBrowserContext()), in ExtensionHost()
126 extension_function_dispatcher_(browser_context_, this), in ExtensionHost()
134 WebContents::CreateParams(browser_context_, site_instance))), in ExtensionHost()
145 content::Source<BrowserContext>(browser_context_)); in ExtensionHost()
159 content::Source<BrowserContext>(browser_context_), in ~ExtensionHost()
215 content::Source<BrowserContext>(browser_context_), in Close()
261 content::Source<BrowserContext>(browser_context_), in RenderProcessGone()
293 content::Source<BrowserContext>(browser_context_), in DidStopLoading()
314 ExtensionSystem::Get(browser_context_) in OnDocumentAvailable()
346 EventRouter* router = EventRouter::Get(browser_context_); in OnEventAck()
[all …]
Dextension_message_filter.cc36 browser_context_(context), in ExtensionMessageFilter()
117 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddListener()
138 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveListener()
154 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddLazyListener()
167 GuestViewManager::FromBrowserContext(browser_context_); in OnExtensionAttachGuest()
185 GuestViewManager::FromBrowserContext(browser_context_); in OnExtensionCreateMimeHandlerViewGuest()
215 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveLazyListener()
229 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddFilteredListener()
244 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveFilteredListener()
254 ExtensionSystem::Get(browser_context_)->process_manager(); in OnExtensionShouldSuspendAck()
[all …]
Dextensions_test.cc26 browser_context_(new content::TestBrowserContext), in ExtensionsTest()
28 new TestExtensionsBrowserClient(browser_context_.get())) { in ExtensionsTest()
43 ->CreateBrowserContextServicesForTest(browser_context_.get()); in SetUp()
51 browser_context_.get()); in TearDown()
/external/chromium_org/chrome/browser/extensions/api/experience_sampling_private/
Dexperience_sampling.cc61 browser_context_(browser_context) { in ExperienceSamplingEvent()
75 if (browser_context_ && browser_context_->IsOffTheRecord()) in CreateUserDecisionEvent()
88 EventRouter* router = EventRouter::Get(browser_context_); in CreateUserDecisionEvent()
96 if (browser_context_ && browser_context_->IsOffTheRecord()) in CreateOnDisplayedEvent()
102 EventRouter* router = EventRouter::Get(browser_context_); in CreateOnDisplayedEvent()
/external/chromium_org/content/browser/frame_host/
Drender_widget_host_view_child_frame_unittest.cc31 browser_context_.reset(new TestBrowserContext); in SetUp()
33 new MockRenderProcessHost(browser_context_.get()); in SetUp()
44 browser_context_.reset(); in TearDown()
46 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); in TearDown()
52 scoped_ptr<BrowserContext> browser_context_; member in content::__anone9259e500111::RenderWidgetHostViewChildFrameTest
Drender_widget_host_view_guest_unittest.cc31 browser_context_.reset(new TestBrowserContext); in SetUp()
33 new MockRenderProcessHost(browser_context_.get()); in SetUp()
45 browser_context_.reset(); in TearDown()
47 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); in TearDown()
53 scoped_ptr<BrowserContext> browser_context_; member in content::__anon365c988a0111::RenderWidgetHostViewGuestTest
/external/chromium_org/content/browser/fileapi/
Dfileapi_message_filter_unittest.cc64 stream_context_ = StreamContext::GetFor(&browser_context_); in SetUp()
65 blob_storage_context_ = ChromeBlobStorageContext::GetFor(&browser_context_); in SetUp()
69 browser_context_.GetRequestContext(), in SetUp()
81 TestBrowserContext browser_context_; member in content::FileAPIMessageFilterTest
93 browser_context_.GetRequestContext(), in TEST_F()
95 ChromeBlobStorageContext::GetFor(&browser_context_), in TEST_F()
96 StreamContext::GetFor(&browser_context_))); in TEST_F()
118 browser_context_.GetRequestContext(), in TEST_F()
120 ChromeBlobStorageContext::GetFor(&browser_context_), in TEST_F()
121 StreamContext::GetFor(&browser_context_))); in TEST_F()
[all …]
/external/chromium_org/content/browser/shared_worker/
Dshared_worker_instance_unittest.cc20 : browser_context_(new TestBrowserContext()), in SharedWorkerInstanceTest()
22 new WorkerStoragePartition(browser_context_->GetRequestContext(), in SharedWorkerInstanceTest()
38 browser_context_->GetResourceContext()); in Matches()
42 scoped_ptr<TestBrowserContext> browser_context_; member in content::SharedWorkerInstanceTest
54 browser_context_->GetResourceContext(), in TEST_F()
69 browser_context_->GetResourceContext(), in TEST_F()
/external/chromium_org/extensions/browser/api/storage/
Dstorage_frontend.cc36 : browser_context_(context) {} in DefaultObserver()
51 EventRouter::Get(browser_context_) in OnSettingsChanged()
56 BrowserContext* const browser_context_; member in extensions::__anon225f72a90111::DefaultObserver
74 : browser_context_(context) { in StorageFrontend()
81 : browser_context_(context) { in StorageFrontend()
88 browser_context_observer_.reset(new DefaultObserver(browser_context_)); in Init()
90 DCHECK(!browser_context_->IsOffTheRecord()); in Init()
95 new LocalValueStoreCache(factory, browser_context_->GetPath()); in Init()
100 browser_context_, factory, observers_, &caches_); in Init()
/external/chromium_org/athena/virtual_keyboard/
Dvirtual_keyboard_manager_impl.cc34 : browser_context_(context), root_window_(root_window) {} in BasicKeyboardControllerProxy()
50 return browser_context_; in GetBrowserContext()
56 content::BrowserContext* browser_context_; member in athena::__anona3d1bc9e0111::BasicKeyboardControllerProxy
65 : browser_context_(browser_context), in VirtualKeyboardManagerImpl()
87 new BasicKeyboardControllerProxy(browser_context_, in Init()
96 content::BrowserContext* browser_context_; member in athena::__anona3d1bc9e0111::VirtualKeyboardManagerImpl
/external/chromium_org/chrome/browser/extensions/
Dextension_error_controller.cc26 : browser_context_(context), in ExtensionErrorController()
57 return browser_context_; in GetContext()
82 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser_context_); in OnAlertClosed()
94 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in IdentifyAlertableExtensions()
95 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser_context_); in IdentifyAlertableExtensions()
113 ExtensionSystem* system = ExtensionSystem::Get(browser_context_); in IdentifyAlertableExtensions()
Dshared_module_service.cc29 : extension_registry_observer_(this), browser_context_(context) { in SharedModuleService()
30 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context_)); in SharedModuleService()
46 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in CheckImports()
86 ExtensionSystem::Get(browser_context_)->extension_service(); in SatisfyImports()
111 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in GetDependentExtensions()
113 ExtensionSystem::Get(browser_context_)->extension_service(); in GetDependentExtensions()
133 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in PruneSharedModules()
135 ExtensionSystem::Get(browser_context_)->extension_service(); in PruneSharedModules()
Dexternal_install_manager.cc61 : browser_context_(browser_context), in ExternalInstallManager()
63 extension_prefs_(ExtensionPrefs::Get(browser_context_)), in ExternalInstallManager()
65 DCHECK(browser_context_); in ExternalInstallManager()
66 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context_)); in ExternalInstallManager()
70 content::Source<Profile>(Profile::FromBrowserContext(browser_context_))); in ExternalInstallManager()
87 browser_context_, extension->id(), alert_type, this)); in AddExternalInstallError()
111 ExtensionRegistry::Get(browser_context_)->disabled_extensions(); in UpdateExternalExtensionAlert()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_windows_api.cc19 : browser_context_(context) { in TabsWindowsAPI()
20 EventRouter* event_router = EventRouter::Get(browser_context_); in TabsWindowsAPI()
57 new TabsEventRouter(Profile::FromBrowserContext(browser_context_))); in tabs_event_router()
64 new WindowsEventRouter(Profile::FromBrowserContext(browser_context_))); in windows_event_router()
69 EventRouter::Get(browser_context_)->UnregisterObserver(this); in Shutdown()
84 EventRouter::Get(browser_context_)->UnregisterObserver(this); in OnListenerAdded()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dmedia_player_event_router.cc25 : browser_context_(context) {} in MediaPlayerEventRouter()
31 BroadcastEvent(browser_context_, "mediaPlayerPrivate.onNextTrack"); in NotifyNextTrack()
35 BroadcastEvent(browser_context_, "mediaPlayerPrivate.onPrevTrack"); in NotifyPrevTrack()
39 BroadcastEvent(browser_context_, "mediaPlayerPrivate.onTogglePlayState"); in NotifyTogglePlayState()
/external/chromium_org/components/dom_distiller/content/
Ddistiller_page_web_contents.cc39 DCHECK(browser_context_); in CreateDistillerPage()
41 browser_context_, render_view_size, in CreateDistillerPage()
48 DCHECK(browser_context_); in CreateDistillerPageWithHandle()
53 browser_context_, gfx::Size(), web_contents_handle.Pass())); in CreateDistillerPageWithHandle()
60 : state_(IDLE), browser_context_(browser_context), in DistillerPageWebContents()
76 DCHECK(browser_context_); in DistillPageImpl()
107 content::WebContents::CreateParams create_params(browser_context_); in CreateNewWebContents()
/external/chromium_org/extensions/browser/api/runtime/
Druntime_api.cc140 : browser_context_(context), in RuntimeAPI()
146 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context_)); in RuntimeAPI()
149 browser_context_); in RuntimeAPI()
154 ExtensionsBrowserClient::Get()->DidVersionUpdate(browser_context_); in RuntimeAPI()
173 DCHECK(!browser_context_->IsOffTheRecord()); in Observe()
175 ExtensionSystem* extension_system = ExtensionSystem::Get(browser_context_); in Observe()
189 browser_context_, in OnExtensionLoaded()
203 if (util::IsEphemeralApp(extension->id(), browser_context_)) in OnExtensionWillBeInstalled()
212 browser_context_, in OnExtensionWillBeInstalled()
224 if (util::IsEphemeralApp(extension->id(), browser_context_)) in OnExtensionUninstalled()
[all …]
/external/chromium_org/chrome/browser/extensions/api/runtime/
Dchrome_runtime_api_delegate.cc54 : browser_context_(context), registered_for_updates_(false) { in ChromeRuntimeAPIDelegate()
66 ExtensionSystem::Get(browser_context_) in AddUpdateObserver()
74 ExtensionSystem::Get(browser_context_) in RemoveUpdateObserver()
84 ExtensionSystem::Get(browser_context_)->extension_service(); in GetPreviousExtensionVersion()
111 ExtensionSystem::Get(browser_context_)->extension_service(); in ReloadExtension()
130 browser_context_, in ReloadExtension()
147 ExtensionSystem* system = ExtensionSystem::Get(browser_context_); in CheckForUpdates()
169 Profile* profile = Profile::FromBrowserContext(browser_context_); in OpenURL()
256 ExtensionSystem* system = ExtensionSystem::Get(browser_context_); in UpdateCheckComplete()

12345678910>>...12