Home
last modified time | relevance | path

Searched refs:browser_context (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/external/chromium_org/content/browser/
Dsite_instance_impl.cc59 BrowserContext* browser_context = in HasProcess() local
60 browsing_instance_->browser_context(); in HasProcess()
62 RenderProcessHost::ShouldUseProcessPerSite(browser_context, site_) && in HasProcess()
63 RenderProcessHostImpl::GetProcessHostForSite(browser_context, site_)) { in HasProcess()
80 BrowserContext* browser_context = browsing_instance_->browser_context(); in GetProcess() local
85 RenderProcessHost::ShouldUseProcessPerSite(browser_context, site_); in GetProcess()
87 process_ = RenderProcessHostImpl::GetProcessHostForSite(browser_context, in GetProcess()
93 browser_context, site_)) { in GetProcess()
94 process_ = RenderProcessHostImpl::GetExistingProcessHost(browser_context, in GetProcess()
102 browser_context, this); in GetProcess()
[all …]
Dbrowser_context.cc46 BrowserContext* browser_context) { in GetStoragePartitionMap() argument
49 browser_context->GetUserData(kStorageParitionMapKeyName)); in GetStoragePartitionMap()
51 partition_map = new StoragePartitionImplMap(browser_context); in GetStoragePartitionMap()
52 browser_context->SetUserData(kStorageParitionMapKeyName, partition_map); in GetStoragePartitionMap()
58 BrowserContext* browser_context, in GetStoragePartitionFromConfig() argument
63 GetStoragePartitionMap(browser_context); in GetStoragePartitionFromConfig()
65 if (browser_context->IsOffTheRecord()) in GetStoragePartitionFromConfig()
91 BrowserContext* browser_context, in AsyncObliterateStoragePartition() argument
94 GetStoragePartitionMap(browser_context)->AsyncObliterate(site, in AsyncObliterateStoragePartition()
100 BrowserContext* browser_context, in GarbageCollectStoragePartitions() argument
[all …]
Dsite_instance_impl_unittest.cc43 virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context, in GetWebUIType() argument
47 virtual bool UseWebUIForURL(BrowserContext* browser_context, in UseWebUIForURL() argument
51 virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context, in UseWebUIBindingsForURL() argument
147 TestBrowsingInstance(BrowserContext* browser_context, int* delete_counter) in TestBrowsingInstance() argument
148 : BrowsingInstance(browser_context), in TestBrowsingInstance()
153 using BrowsingInstance::browser_context;
171 BrowserContext* browser_context, in CreateTestSiteInstance() argument
175 new TestBrowsingInstance(browser_context, browsing_delete_counter); in CreateTestSiteInstance()
230 scoped_ptr<TestBrowserContext> browser_context(new TestBrowserContext()); in TEST_F() local
232 TestSiteInstance::CreateTestSiteInstance(browser_context.get(), in TEST_F()
[all …]
Dbrowser_url_handler_impl_unittest.cc16 static bool FooRewriter(GURL* url, BrowserContext* browser_context) { in FooRewriter() argument
25 static bool BarRewriter(GURL* url, BrowserContext* browser_context) { in BarRewriter() argument
34 TestBrowserContext browser_context; in TEST_F() local
42 handler.RewriteURLIfNecessary(&url, &browser_context, &reverse_on_redirect); in TEST_F()
50 &browser_context); in TEST_F()
57 reversed = handler.ReverseURLRewrite(&url, original_url, &browser_context); in TEST_F()
63 TestBrowserContext browser_context; in TEST_F() local
72 &browser_context); in TEST_F()
77 reversed = handler.ReverseURLRewrite(&url, original_url, &browser_context); in TEST_F()
Dbrowser_url_handler_impl.cc17 static bool HandleViewSource(GURL* url, BrowserContext* browser_context) { in HandleViewSource() argument
61 static bool ReverseViewSource(GURL* url, BrowserContext* browser_context) { in ReverseViewSource() argument
74 static bool DebugURLHandler(GURL* url, BrowserContext* browser_context) { in DebugURLHandler() argument
114 BrowserContext* browser_context, in RewriteURLIfNecessary() argument
118 if (handler && handler(url, browser_context)) { in RewriteURLIfNecessary()
126 GURL* url, const GURL& original, BrowserContext* browser_context) { in ReverseURLRewrite() argument
133 if (reverse_rewriter(url, browser_context)) in ReverseURLRewrite()
135 } else if (handler(&test_url, browser_context)) { in ReverseURLRewrite()
136 return reverse_rewriter(url, browser_context); in ReverseURLRewrite()
/external/chromium_org/extensions/browser/
Dlazy_background_task_queue.cc28 content::BrowserContext* browser_context) in LazyBackgroundTaskQueue() argument
29 : browser_context_(browser_context), extension_registry_observer_(this) { in LazyBackgroundTaskQueue()
37 extension_registry_observer_.Add(ExtensionRegistry::Get(browser_context)); in LazyBackgroundTaskQueue()
44 content::BrowserContext* browser_context, in ShouldEnqueueTask() argument
51 browser_context)->process_manager(); in ShouldEnqueueTask()
65 content::BrowserContext* browser_context, in AddPendingTask() argument
73 PendingTasksKey key(browser_context, extension_id); in AddPendingTask()
80 ExtensionRegistry::Get(browser_context)->enabled_extensions().GetByID( in AddPendingTask()
86 browser_context)->process_manager(); in AddPendingTask()
105 content::BrowserContext* browser_context, in ProcessPendingTasks() argument
[all …]
Dlazy_background_task_queue_unittest.cc100 ExtensionRegistry::Get(browser_context())->AddEnabled(extension); in CreateSimpleExtension()
117 ExtensionRegistry::Get(browser_context())->AddEnabled(extension); in CreateLazyBackgroundExtension()
134 LazyBackgroundTaskQueue queue(browser_context()); in TEST_F()
138 EXPECT_FALSE(queue.ShouldEnqueueTask(browser_context(), no_background.get())); in TEST_F()
143 queue.ShouldEnqueueTask(browser_context(), with_background.get())); in TEST_F()
151 ExtensionSystem::Get(browser_context())); in TEST_F()
155 LazyBackgroundTaskQueue queue(browser_context()); in TEST_F()
162 queue.AddPendingTask(browser_context(), in TEST_F()
171 queue.AddPendingTask(browser_context(), in TEST_F()
181 queue.AddPendingTask(browser_context(), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dsettings_api_helpers.cc22 content::BrowserContext* browser_context, in FindOverridingExtension() argument
25 ExtensionRegistry::Get(browser_context)->enabled_extensions(); in FindOverridingExtension()
53 PreferenceAPI* preference_api = PreferenceAPI::Get(browser_context); in FindOverridingExtension()
69 content::BrowserContext* browser_context) { in GetExtensionOverridingHomepage() argument
70 return FindOverridingExtension(browser_context, BUBBLE_TYPE_HOME_PAGE); in GetExtensionOverridingHomepage()
74 content::BrowserContext* browser_context) { in GetExtensionOverridingStartupPages() argument
75 return FindOverridingExtension(browser_context, BUBBLE_TYPE_STARTUP_PAGES); in GetExtensionOverridingStartupPages()
79 content::BrowserContext* browser_context) { in GetExtensionOverridingSearchEngine() argument
80 return FindOverridingExtension(browser_context, BUBBLE_TYPE_SEARCH_ENGINE); in GetExtensionOverridingSearchEngine()
84 content::BrowserContext* browser_context) { in GetExtensionOverridingProxy() argument
[all …]
Dextension_view_host_factory_browsertest.cc27 content::BrowserContext* browser_context = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local
33 EXPECT_EQ(browser_context, host->browser_context()); in IN_PROC_BROWSER_TEST_F()
44 EXPECT_EQ(browser_context, host->browser_context()); in IN_PROC_BROWSER_TEST_F()
55 EXPECT_EQ(browser_context, host->browser_context()); in IN_PROC_BROWSER_TEST_F()
82 content::BrowserContext* browser_context = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local
83 EXPECT_EQ(browser_context, regular_host->browser_context()); in IN_PROC_BROWSER_TEST_F()
98 EXPECT_EQ(incognito_context, split_mode_host->browser_context()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/media_galleries/
Dgallery_watch_manager.cc126 GalleryWatchManager::WatchOwner::WatchOwner(BrowserContext* browser_context, in WatchOwner() argument
129 : browser_context(browser_context), in WatchOwner()
135 return browser_context < other.browser_context || in operator <()
165 void GalleryWatchManager::AddObserver(BrowserContext* browser_context, in AddObserver() argument
167 DCHECK(browser_context); in AddObserver()
169 DCHECK(!ContainsKey(observers_, browser_context)); in AddObserver()
170 observers_[browser_context] = observer; in AddObserver()
173 void GalleryWatchManager::RemoveObserver(BrowserContext* browser_context) { in RemoveObserver() argument
174 DCHECK(browser_context); in RemoveObserver()
175 size_t erased = observers_.erase(browser_context); in RemoveObserver()
[all …]
Dgallery_watch_manager.h53 void AddObserver(content::BrowserContext* browser_context,
55 void RemoveObserver(content::BrowserContext* browser_context);
58 void ShutdownBrowserContext(content::BrowserContext* browser_context);
61 void AddWatch(content::BrowserContext* browser_context,
68 void RemoveWatch(content::BrowserContext* browser_context,
73 void RemoveAllWatches(content::BrowserContext* browser_context,
77 MediaGalleryPrefIdSet GetWatchSet(content::BrowserContext* browser_context,
85 WatchOwner(content::BrowserContext* browser_context,
89 content::BrowserContext* browser_context; member
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_api.h174 void* browser_context,
181 int OnBeforeRequest(void* browser_context,
191 int OnBeforeSendHeaders(void* browser_context,
199 void OnSendHeaders(void* browser_context,
214 void* browser_context,
228 void* browser_context,
237 void OnBeforeRedirect(void* browser_context,
244 void OnResponseStarted(void* browser_context,
249 void OnCompleted(void* browser_context,
254 void OnErrorOccurred(void* browser_context,
[all …]
Dweb_request_api.cc324 content::BrowserContext* browser_context = in RemoveEventListenerOnUI() local
327 browser_context)) in RemoveEventListenerOnUI()
331 extensions::EventRouter::Get(browser_context); in RemoveEventListenerOnUI()
359 content::BrowserContext* browser_context = in SendOnMessageEventOnUI() local
362 browser_context)) in SendOnMessageEventOnUI()
369 extensions::EventRouter::Get(browser_context); in SendOnMessageEventOnUI()
386 event_args.Pass(), browser_context, GURL(), in SendOnMessageEventOnUI()
393 content::BrowserContext* browser_context, in RemoveEventListenerOnIOThread() argument
397 browser_context, extension_id, sub_event_name); in RemoveEventListenerOnIOThread()
438 details.browser_context, in OnListenerRemoved()
[all …]
/external/chromium_org/content/public/browser/
Dbrowser_context.h51 static DownloadManager* GetDownloadManager(BrowserContext* browser_context);
59 BrowserContext* browser_context, SiteInstance* site_instance);
61 BrowserContext* browser_context, const GURL& site);
64 BrowserContext* browser_context,
67 BrowserContext* browser_context,
74 BrowserContext* browser_context,
81 BrowserContext* browser_context);
86 static void CreateMemoryBackedBlob(BrowserContext* browser_context,
93 BrowserContext* browser_context,
104 static void EnsureResourceContextInitialized(BrowserContext* browser_context);
[all …]
/external/chromium_org/chrome/browser/extensions/api/automation/
Dautomation_apitest.cc216 BrowserContext* browser_context) { in SendDataForTree() argument
223 browser_context); in SendDataForTree()
231 BrowserContext* browser_context) { in SendUpdate() argument
241 details, browser_context, gfx::Vector2d()); in SendUpdate()
246 void SendTreeDestroyedEvent(int routing_id, BrowserContext* browser_context) { in SendTreeDestroyedEvent() argument
248 kPid, routing_id, browser_context); in SendTreeDestroyedEvent()
263 void InitializeTree0(BrowserContext* browser_context) { in InitializeTree0() argument
267 SendDataForTree(tree0.get(), serializer0.get(), kTab0Rid, browser_context); in InitializeTree0()
282 void InitializeTree1(BrowserContext* browser_context) { in InitializeTree1() argument
286 SendDataForTree(tree1.get(), serializer1.get(), kTab1Rid, browser_context); in InitializeTree1()
[all …]
/external/chromium_org/content/browser/renderer_host/
Drender_process_host_unittest.cc22 MockRenderProcessHost guest_host(browser_context()); in TEST_F()
26 &guest_host, browser_context(), test_url)); in TEST_F()
28 process(), browser_context(), test_url)); in TEST_F()
31 RenderProcessHost::GetExistingProcessHost(browser_context(), test_url)); in TEST_F()
57 hosts.push_back(new MockRenderProcessHost(browser_context())); in TEST_F()
63 browser_context(), test_url)); in TEST_F()
80 hosts.push_back(new MockRenderProcessHost(browser_context())); in TEST_F()
86 browser_context(), test_url)); in TEST_F()
/external/chromium_org/extensions/browser/guest_view/app_view/
Dapp_view_guest.cc63 content::BrowserContext* browser_context, in CompletePendingRequest() argument
91 GuestViewBase* AppViewGuest::Create(content::BrowserContext* browser_context, in Create() argument
97 return new AppViewGuest(browser_context, guest_instance_id); in Create()
100 AppViewGuest::AppViewGuest(content::BrowserContext* browser_context, in AppViewGuest() argument
102 : GuestView<AppViewGuest>(browser_context, guest_instance_id), in AppViewGuest()
162 ExtensionRegistry::Get(browser_context())->enabled_extensions(); in CreateWebContents()
181 ExtensionSystem::Get(browser_context())->lazy_background_task_queue(); in CreateWebContents()
182 if (queue->ShouldEnqueueTask(browser_context(), guest_extension)) { in CreateWebContents()
183 queue->AddPendingTask(browser_context(), in CreateWebContents()
194 ExtensionSystem::Get(browser_context())->process_manager(); in CreateWebContents()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/
Dprofile_auth_data_unittest.cc82 void PopulateBrowserContext(content::BrowserContext* browser_context,
89 content::BrowserContext* browser_context);
90 net::HttpAuthCache* GetProxyAuth(content::BrowserContext* browser_context);
91 net::CookieMonster* GetCookies(content::BrowserContext* browser_context);
92 net::ChannelIDStore* GetChannelIDs(content::BrowserContext* browser_context);
204 content::BrowserContext* browser_context, in PopulateBrowserContext() argument
209 GetProxyAuth(browser_context)->Add( in PopulateBrowserContext()
218 net::CookieMonster* cookies = GetCookies(browser_context); in PopulateBrowserContext()
250 GetChannelIDs(browser_context)->SetChannelID(kChannelIDServerIdentifier, in PopulateBrowserContext()
258 content::BrowserContext* browser_context) { in GetRequestContext() argument
[all …]
/external/chromium_org/chrome/browser/extensions/api/networking_private/
Dnetworking_private_factory_chromeos.cc19 BrowserContext* browser_context) { in GetForBrowserContext() argument
21 browser_context); in GetForBrowserContext()
27 BrowserContext* browser_context) { in GetForBrowserContext() argument
29 GetInstance()->GetServiceForBrowserContext(browser_context, true)); in GetForBrowserContext()
48 BrowserContext* browser_context) const { in BuildServiceInstanceFor()
50 return new NetworkingPrivateChromeOS(browser_context); in BuildServiceInstanceFor()
Dnetworking_private_service_client_factory.cc16 content::BrowserContext* browser_context) { in GetForBrowserContext() argument
18 browser_context); in GetForBrowserContext()
24 content::BrowserContext* browser_context) { in GetForBrowserContext() argument
26 GetInstance()->GetServiceForBrowserContext(browser_context, true)); in GetForBrowserContext()
46 content::BrowserContext* browser_context) const { in BuildServiceInstanceFor()
/external/chromium_org/ui/keyboard/webui/
Dvk_webui_controller.cc53 content::BrowserContext* browser_context = in VKWebUIController() local
55 content::WebUIDataSource::Add(browser_context, CreateKeyboardUIDataSource()); in VKWebUIController()
56 content::WebUIDataSource::AddMojoDataSource(browser_context)->AddResourcePath( in VKWebUIController()
79 content::BrowserContext* browser_context, in GetWebUIType() argument
88 content::BrowserContext* browser_context, in UseWebUIForURL() argument
90 return GetWebUIType(browser_context, url) != content::WebUI::kNoWebUI; in UseWebUIForURL()
94 content::BrowserContext* browser_context, in UseWebUIBindingsForURL() argument
96 return UseWebUIForURL(browser_context, url); in UseWebUIBindingsForURL()
/external/chromium_org/content/browser/webui/
Dweb_ui_controller_factory_registry.cc50 BrowserContext* browser_context, const GURL& url) const { in GetWebUIType() argument
53 WebUI::TypeID type = (*factories)[i]->GetWebUIType(browser_context, url); in GetWebUIType()
61 BrowserContext* browser_context, const GURL& url) const { in UseWebUIForURL() argument
64 if ((*factories)[i]->UseWebUIForURL(browser_context, url)) in UseWebUIForURL()
71 BrowserContext* browser_context, const GURL& url) const { in UseWebUIBindingsForURL() argument
74 if ((*factories)[i]->UseWebUIBindingsForURL(browser_context, url)) in UseWebUIBindingsForURL()
81 BrowserContext* browser_context, in IsURLAcceptableForWebUI() argument
83 return UseWebUIForURL(browser_context, url) || in IsURLAcceptableForWebUI()
/external/chromium_org/extensions/shell/browser/
Dshell_content_browser_client.cc66 return browser_main_parts_->browser_context(); in GetBrowserContext()
79 BrowserContext* browser_context = browser_main_parts_->browser_context(); in RenderProcessWillLaunch() local
81 new ExtensionMessageFilter(render_process_id, browser_context)); in RenderProcessWillLaunch()
87 browser_context->IsOffTheRecord(), in RenderProcessWillLaunch()
88 browser_context->GetPath(), in RenderProcessWillLaunch()
89 browser_context->GetRequestContextForRenderProcess(render_process_id))); in RenderProcessWillLaunch()
94 content::BrowserContext* browser_context, in ShouldUseProcessPerSite() argument
117 return browser_main_parts_->browser_context()->CreateRequestContext( in CreateRequestContext()
150 ProcessMap::Get(browser_main_parts_->browser_context()) in SiteInstanceGotProcess()
172 ProcessMap::Get(browser_main_parts_->browser_context()) in SiteInstanceDeleting()
/external/chromium_org/chrome/browser/renderer_context_menu/
Dspelling_menu_observer.cc61 content::BrowserContext* browser_context = proxy_->GetBrowserContext(); in InitMenu() local
62 if (!params.is_editable || !browser_context) in InitMenu()
74 browser_context, SpellingServiceClient::SUGGEST); in InitMenu()
134 browser_context, in InitMenu()
152 browser_context, SpellingServiceClient::SPELLCHECK); in InitMenu()
161 SpellcheckServiceFactory::GetForContext(browser_context); in InitMenu()
253 content::BrowserContext* browser_context = proxy_->GetBrowserContext(); in ExecuteCommand() local
254 if (browser_context) { in ExecuteCommand()
256 SpellcheckServiceFactory::GetForContext(browser_context); in ExecuteCommand()
279 content::BrowserContext* browser_context = proxy_->GetBrowserContext(); in ExecuteCommand() local
[all …]
/external/wpa_supplicant_8/src/utils/
Dbrowser.c16 struct browser_context { struct
24 static void win_cb_destroy(GtkWidget *win, struct browser_context *ctx) in win_cb_destroy() argument
31 static void browser_update_title(struct browser_context *ctx) in browser_update_title()
54 struct browser_context *ctx) in view_cb_notify_progress()
64 struct browser_context *ctx) in view_cb_notify_load_status()
77 struct browser_context *ctx) in view_cb_resource_request_starting()
101 struct browser_context *ctx) in view_cb_mime_type_policy_decision()
116 struct browser_context *ctx) in view_cb_download_requested()
126 gchar *uri, struct browser_context *ctx) in view_cb_hovering_over_link()
142 struct browser_context *ctx) in view_cb_title_changed()
[all …]

12345678910>>...29