Home
last modified time | relevance | path

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

12345678910

/external/chromium_org/athena/content/
Dcontent_app_model_builder.cc49 browser_context_(browser_context) { in DummyItem()
59 ActivityFactory::Get()->CreateWebActivity(browser_context_, url_)); in Activate()
63 content::BrowserContext* browser_context_; member in athena::__anonb58a67fe0111::DummyItem
74 browser_context_(browser_context), in AppItem()
75 icon_image_(browser_context_, in AppItem()
92 GetShellExtensionSystem(browser_context_)->LaunchApp(); in Activate()
96 content::BrowserContext* browser_context_; member in athena::__anonb58a67fe0111::AppItem
106 : browser_context_(browser_context) { in ContentAppModelBuilder()
114 "mail", GURL("http://gmail.com/"), SK_ColorRED, browser_context_))); in PopulateApps()
117 SK_ColorBLUE, browser_context_))); in PopulateApps()
[all …]
/external/chromium_org/apps/shell/browser/
Dshell_browser_main_parts.cc86 browser_context_.reset(new ShellBrowserContext); in PreMainMessageLoopRun()
99 new extensions::ShellExtensionsBrowserClient(browser_context_.get())); in PreMainMessageLoopRun()
109 browser_context_.get()); in PreMainMessageLoopRun()
112 new content::ShellDevToolsDelegate(browser_context_.get())); in PreMainMessageLoopRun()
119 browser_main_delegate_->Start(browser_context_.get()); in PreMainMessageLoopRun()
137 browser_context_.get()); in PostMainMessageLoopRun()
141 browser_context_.reset(); in PostMainMessageLoopRun()
154 DCHECK(browser_context_); in CreateExtensionSystem()
156 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()
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/content/browser/
Dstorage_partition_impl_map.cc366 : browser_context_(browser_context), in StoragePartitionImplMap()
392 browser_context_->GetPath().Append( in Get()
395 StoragePartitionImpl::Create(browser_context_, in_memory, in Get()
400 ChromeBlobStorageContext::GetFor(browser_context_); in Get()
401 StreamContext* stream_context = StreamContext::GetFor(browser_context_); in Get()
415 browser_context_->GetResourceContext(), in Get()
416 browser_context_->IsOffTheRecord(), in Get()
429 browser_context_->GetResourceContext(), in Get()
430 browser_context_->IsOffTheRecord(), in Get()
436 CreateDevToolsProtocolHandler(browser_context_->GetResourceContext(), in Get()
[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()
144 content::Source<BrowserContext>(browser_context_)); in ExtensionHost()
158 content::Source<BrowserContext>(browser_context_), in ~ExtensionHost()
214 content::Source<BrowserContext>(browser_context_), in Close()
260 content::Source<BrowserContext>(browser_context_), in RenderProcessGone()
292 content::Source<BrowserContext>(browser_context_), in DidStopLoading()
313 ExtensionSystem::Get(browser_context_) in OnDocumentAvailable()
345 EventRouter* router = EventRouter::Get(browser_context_); in OnEventAck()
[all …]
Dextension_message_filter.cc28 browser_context_(context), in ExtensionMessageFilter()
102 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddListener()
114 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveListener()
122 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddLazyListener()
130 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveLazyListener()
144 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddFilteredListener()
159 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveFilteredListener()
169 ExtensionSystem::Get(browser_context_)->process_manager(); in OnExtensionShouldSuspendAck()
177 ExtensionSystem::Get(browser_context_)->process_manager(); in OnExtensionSuspendAck()
206 browser_context_, in OnExtensionRequestForIOThread()
Dextension_registry.cc14 : browser_context_(browser_context) {} in ExtensionRegistry()
44 OnExtensionLoaded(browser_context_, extension)); in TriggerOnLoaded()
53 OnExtensionUnloaded(browser_context_, extension, reason)); in TriggerOnUnloaded()
67 browser_context_, extension, is_update, from_ephemeral, old_name)); in TriggerOnWillBeInstalled()
74 OnExtensionInstalled(browser_context_, extension)); in TriggerOnInstalled()
81 OnExtensionUninstalled(browser_context_, extension)); in TriggerOnUninstalled()
/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::__anon594b1c3d0111::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::__anona42968b70111::RenderWidgetHostViewGuestTest
/external/chromium_org/content/browser/shared_worker/
Dshared_worker_instance_unittest.cc19 : browser_context_(new TestBrowserContext()), in SharedWorkerInstanceTest()
21 new WorkerStoragePartition(browser_context_->GetRequestContext(), in SharedWorkerInstanceTest()
37 browser_context_->GetResourceContext()); in Matches()
40 scoped_ptr<TestBrowserContext> browser_context_; member in content::SharedWorkerInstanceTest
52 browser_context_->GetResourceContext(), in TEST_F()
67 browser_context_->GetResourceContext(), in TEST_F()
/external/chromium_org/athena/main/
Durl_search_provider.cc21 : browser_context_(browser_context), url_(query) { in UrlSearchResult()
34 ActivityFactory::Get()->CreateWebActivity(browser_context_, url_)); in Open()
37 content::BrowserContext* browser_context_; member in athena::__anon176eb0c90111::UrlSearchResult
46 : browser_context_(browser_context) { in UrlSearchProvider()
55 new UrlSearchResult(browser_context_, query))); in Start()
/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/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::__anonb02e19960111::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()
54 content::BrowserContext* browser_context_; member in athena::__anon5b2f214b0111::BasicKeyboardControllerProxy
63 : browser_context_(browser_context), in VirtualKeyboardManagerImpl()
85 new BasicKeyboardControllerProxy(browser_context_, in Init()
96 content::BrowserContext* browser_context_; member in athena::__anon5b2f214b0111::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.cc27 : extension_registry_observer_(this), browser_context_(context) { in SharedModuleService()
28 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context_)); in SharedModuleService()
44 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in CheckImports()
87 ExtensionSystem::Get(browser_context_)->extension_service(); in SatisfyImports()
112 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in GetDependentExtensions()
114 ExtensionSystem::Get(browser_context_)->extension_service(); in GetDependentExtensions()
140 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context_); in OnExtensionUninstalled()
142 ExtensionSystem::Get(browser_context_)->extension_service(); in OnExtensionUninstalled()
Dpermissions_updater.cc34 : browser_context_(browser_context) { in PermissionsUpdater()
82 ExtensionPrefs::Get(browser_context_)->AddGrantedPermissions( in GrantActivePermissions()
93 ExtensionPrefs::Get(browser_context_)->GetActivePermissions( in InitializeActivePermissions()
120 ExtensionPrefs::Get(browser_context_)->SetActivePermissions( in SetActivePermissions()
129 EventRouter* event_router = EventRouter::Get(browser_context_); in DispatchEvent()
138 event->restrict_to_browser_context = browser_context_; in DispatchEvent()
164 Profile* profile = Profile::FromBrowserContext(browser_context_); in NotifyPermissionsUpdated()
Dextension_keybinding_registry.cc26 : browser_context_(context), in ExtensionKeybindingRegistry()
30 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context_)); in ExtensionKeybindingRegistry()
32 Profile* profile = Profile::FromBrowserContext(browser_context_); in ExtensionKeybindingRegistry()
75 ExtensionSystem::Get(browser_context_)->extension_service(); in Init()
100 ExtensionSystem::Get(browser_context_)->extension_service(); in CommandExecuted()
119 event->restrict_to_browser_context = browser_context_; in CommandExecuted()
121 EventRouter::Get(browser_context_) in CommandExecuted()
193 const Extension* extension = ExtensionSystem::Get(browser_context_) in Observe()
/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()
56 new TabsEventRouter(Profile::FromBrowserContext(browser_context_))); in tabs_event_router()
63 new WindowsEventRouter(Profile::FromBrowserContext(browser_context_))); in windows_event_router()
68 EventRouter::Get(browser_context_)->UnregisterObserver(this); in Shutdown()
83 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.cc38 DCHECK(browser_context_); in CreateDistillerPage()
40 browser_context_, scoped_ptr<SourcePageHandleWebContents>())); in CreateDistillerPage()
46 DCHECK(browser_context_); in CreateDistillerPageWithHandle()
51 browser_context_, web_contents_handle.Pass())); in CreateDistillerPageWithHandle()
57 : state_(IDLE), browser_context_(browser_context) { in DistillerPageWebContents()
68 DCHECK(browser_context_); in DistillPageImpl()
99 content::WebContents::CreateParams create_params(browser_context_); in CreateNewWebContents()
/external/chromium_org/ui/web_dialogs/
Dweb_dialog_web_contents_delegate.cc26 : browser_context_(browser_context), in WebDialogWebContentsDelegate()
35 browser_context_ = NULL; in Detach()
40 return handler_->OpenURLFromTab(browser_context_, source, params); in OpenURLFromTab()
48 handler_->AddNewContents(browser_context_, source, new_contents, disposition, in AddNewContents()
/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()
170 Profile* profile = Profile::FromBrowserContext(browser_context_); in OpenURL()
260 ExtensionSystem* system = ExtensionSystem::Get(browser_context_); in UpdateCheckComplete()
/external/chromium_org/chrome/browser/extensions/signin/
Dscoped_gaia_auth_extension.cc12 : browser_context_(context) { in ScopedGaiaAuthExtension()
14 extensions::GaiaAuthExtensionLoader::Get(browser_context_); in ScopedGaiaAuthExtension()
21 extensions::GaiaAuthExtensionLoader::Get(browser_context_); in ~ScopedGaiaAuthExtension()
/external/chromium_org/extensions/browser/api/runtime/
Druntime_api.cc142 : browser_context_(context), dispatch_chrome_updated_event_(false) { in RuntimeAPI()
157 browser_context_); in RuntimeAPI()
162 ExtensionsBrowserClient::Get()->DidVersionUpdate(browser_context_); in RuntimeAPI()
210 DCHECK(!browser_context_->IsOffTheRecord()); in OnExtensionsReady()
212 ExtensionSystem* extension_system = ExtensionSystem::Get(browser_context_); in OnExtensionsReady()
225 browser_context_, in OnExtensionLoaded()
234 if (util::IsEphemeralApp(extension->id(), browser_context_)) in OnExtensionInstalled()
243 browser_context_, in OnExtensionInstalled()
252 if (util::IsEphemeralApp(extension->id(), browser_context_)) in OnExtensionUninstalled()
255 RuntimeEventRouter::OnExtensionUninstalled(browser_context_, extension->id()); in OnExtensionUninstalled()
[all …]

12345678910