Home
last modified time | relevance | path

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

1234567891011

/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()
101 BrowserContext* browser_context, in AsyncObliterateStoragePartition() argument
104 GetStoragePartitionMap(browser_context)->AsyncObliterate(site, in AsyncObliterateStoragePartition()
110 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.cc19 static bool HandleViewSource(GURL* url, BrowserContext* browser_context) { in HandleViewSource() argument
51 static bool ReverseViewSource(GURL* url, BrowserContext* browser_context) { in ReverseViewSource() argument
65 static bool DebugURLHandler(GURL* url, BrowserContext* browser_context) { in DebugURLHandler() argument
119 BrowserContext* browser_context, in RewriteURLIfNecessary() argument
123 if (handler && handler(url, browser_context)) { in RewriteURLIfNecessary()
131 GURL* url, const GURL& original, BrowserContext* browser_context) { in ReverseURLRewrite() argument
138 if (reverse_rewriter(url, browser_context)) in ReverseURLRewrite()
140 } else if (handler(&test_url, browser_context)) { in ReverseURLRewrite()
141 return reverse_rewriter(url, browser_context); in ReverseURLRewrite()
Dresource_context_impl.cc112 void InitializeResourceContext(BrowserContext* browser_context) { in InitializeResourceContext() argument
113 ResourceContext* resource_context = browser_context->GetResourceContext(); in InitializeResourceContext()
119 ChromeBlobStorageContext::GetFor(browser_context))); in InitializeResourceContext()
124 StreamContext::GetFor(browser_context))); in InitializeResourceContext()
131 HostZoomMap::GetForBrowserContext(browser_context))); in InitializeResourceContext()
/external/chromium_org/extensions/browser/
Dlazy_background_task_queue.cc29 content::BrowserContext* browser_context) in LazyBackgroundTaskQueue() argument
30 : browser_context_(browser_context) { in LazyBackgroundTaskQueue()
36 content::Source<content::BrowserContext>(browser_context)); in LazyBackgroundTaskQueue()
43 content::BrowserContext* browser_context, in ShouldEnqueueTask() argument
48 browser_context)->process_manager(); in ShouldEnqueueTask()
62 content::BrowserContext* browser_context, in AddPendingTask() argument
70 PendingTasksKey key(browser_context, extension_id); in AddPendingTask()
77 browser_context)->extension_service(); in AddPendingTask()
85 browser_context)->process_manager(); in AddPendingTask()
104 content::BrowserContext* browser_context, in ProcessPendingTasks() argument
[all …]
/external/chromium_org/chrome/browser/extensions/
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/content/public/browser/
Dbrowser_context.h47 static DownloadManager* GetDownloadManager(BrowserContext* browser_context);
55 BrowserContext* browser_context, SiteInstance* site_instance);
57 BrowserContext* browser_context, const GURL& site);
60 BrowserContext* browser_context,
63 BrowserContext* browser_context,
70 BrowserContext* browser_context,
77 BrowserContext* browser_context);
84 static void EnsureResourceContextInitialized(BrowserContext* browser_context);
88 static void SaveSessionState(BrowserContext* browser_context);
91 static void PurgeMemory(BrowserContext* browser_context);
Dcontent_browser_client.cc29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, in GetEffectiveURL() argument
35 BrowserContext* browser_context, const GURL& effective_url) { in ShouldUseProcessPerSite() argument
40 BrowserContext* browser_context, in CreateRequestContext() argument
47 BrowserContext* browser_context, in CreateRequestContextForStoragePartition() argument
74 BrowserContext* browser_context, const GURL& url) { in ShouldTryToUseExistingProcessHost() argument
177 BrowserContext* browser_context, in GetStoragePartitionIdForSite() argument
183 BrowserContext* browser_context, in IsValidStoragePartitionId() argument
191 BrowserContext* browser_context, in GetStoragePartitionConfigForSite() argument
270 BrowserContext* browser_context, const GURL& site_url) { in SupportsBrowserPlugin() argument
275 BrowserContext* browser_context, in AllowPepperSocketAPI() argument
[all …]
Dcontent_browser_client.h177 virtual GURL GetEffectiveURL(BrowserContext* browser_context,
182 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context,
196 BrowserContext* browser_context,
203 BrowserContext* browser_context,
231 BrowserContext* browser_context, const GURL& url);
347 content::BrowserContext* browser_context,
353 virtual bool IsValidStoragePartitionId(BrowserContext* browser_context,
372 content::BrowserContext* browser_context,
539 virtual bool SupportsBrowserPlugin(BrowserContext* browser_context,
548 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
[all …]
/external/chromium_org/content/browser/webui/
Dweb_ui_controller_factory_registry.cc49 BrowserContext* browser_context, const GURL& url) const { in GetWebUIType() argument
52 WebUI::TypeID type = (*factories)[i]->GetWebUIType(browser_context, url); in GetWebUIType()
60 BrowserContext* browser_context, const GURL& url) const { in UseWebUIForURL() argument
63 if ((*factories)[i]->UseWebUIForURL(browser_context, url)) in UseWebUIForURL()
70 BrowserContext* browser_context, const GURL& url) const { in UseWebUIBindingsForURL() argument
73 if ((*factories)[i]->UseWebUIBindingsForURL(browser_context, url)) in UseWebUIBindingsForURL()
80 BrowserContext* browser_context, in IsURLAcceptableForWebUI() argument
83 return UseWebUIForURL(browser_context, url) || in IsURLAcceptableForWebUI()
Dcontent_web_ui_controller_factory.cc20 BrowserContext* browser_context, const GURL& url) const { in GetWebUIType() argument
35 BrowserContext* browser_context, const GURL& url) const { in UseWebUIForURL() argument
36 return GetWebUIType(browser_context, url) != WebUI::kNoWebUI; in UseWebUIForURL()
40 BrowserContext* browser_context, const GURL& url) const { in UseWebUIBindingsForURL() argument
41 return UseWebUIForURL(browser_context, url); in UseWebUIBindingsForURL()
Durl_data_manager.cc52 URLDataManager::URLDataManager(BrowserContext* browser_context) in URLDataManager() argument
53 : browser_context_(browser_context) { in URLDataManager()
110 void URLDataManager::AddDataSource(BrowserContext* browser_context, in AddDataSource() argument
112 GetFromBrowserContext(browser_context)-> in AddDataSource()
117 void URLDataManager::AddWebUIDataSource(BrowserContext* browser_context, in AddWebUIDataSource() argument
120 GetFromBrowserContext(browser_context)->AddDataSource(impl); in AddWebUIDataSource()
Dweb_ui_controller_factory_registry.h24 virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context,
26 virtual bool UseWebUIForURL(BrowserContext* browser_context,
28 virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context,
34 bool IsURLAcceptableForWebUI(BrowserContext* browser_context,
/external/chromium_org/chrome/browser/ui/gtk/
Dconstrained_web_dialog_delegate_gtk.cc33 content::BrowserContext* browser_context, in ConstrainedWebDialogDelegateGtk() argument
37 browser_context, delegate, tab_delegate), in ConstrainedWebDialogDelegateGtk()
66 content::BrowserContext* browser_context,
110 content::BrowserContext* browser_context, in ConstrainedWebDialogDelegateViewGtk() argument
114 browser_context, in ConstrainedWebDialogDelegateViewGtk()
137 content::BrowserContext* browser_context, in CreateConstrainedWebDialog() argument
143 browser_context, delegate, tab_delegate); in CreateConstrainedWebDialog()
/external/chromium_org/content/browser/renderer_host/
Drender_process_host_unittest.cc17 MockRenderProcessHost guest_host(browser_context()); in TEST_F()
21 &guest_host, browser_context(), test_url)); in TEST_F()
23 process(), browser_context(), test_url)); in TEST_F()
26 RenderProcessHost::GetExistingProcessHost(browser_context(), test_url)); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dconstrained_web_dialog_delegate_views.cc37 content::BrowserContext* browser_context, in ConstrainedWebDialogDelegateViews() argument
42 browser_context, delegate, tab_delegate), in ConstrainedWebDialogDelegateViews()
87 content::BrowserContext* browser_context,
188 content::BrowserContext* browser_context, in ConstrainedWebDialogDelegateViewViews() argument
191 : views::WebView(browser_context), in ConstrainedWebDialogDelegateViewViews()
192 impl_(new ConstrainedWebDialogDelegateViews(browser_context, in ConstrainedWebDialogDelegateViewViews()
206 content::BrowserContext* browser_context, in CreateConstrainedWebDialog() argument
212 browser_context, delegate, tab_delegate); in CreateConstrainedWebDialog()
/external/chromium_org/ui/keyboard/
Dkeyboard.cc27 content::BrowserContext* browser_context, in GetWebUIType() argument
34 virtual bool UseWebUIForURL(content::BrowserContext* browser_context, in UseWebUIForURL() argument
36 return GetWebUIType(browser_context, url) != WebUI::kNoWebUI; in UseWebUIForURL()
38 virtual bool UseWebUIBindingsForURL(content::BrowserContext* browser_context, in UseWebUIBindingsForURL() argument
40 return UseWebUIForURL(browser_context, url); in UseWebUIBindingsForURL()
/external/chromium_org/chrome/browser/printing/
Dprint_dialog_cloud.cc457 content::BrowserContext* browser_context, in CloudPrintWebDialogDelegate() argument
472 Init(browser_context, json_arguments); in CloudPrintWebDialogDelegate()
487 void GetDialogWidthAndHeightFromPrefs(content::BrowserContext* browser_context, in GetDialogWidthAndHeightFromPrefs() argument
490 if (!browser_context) { in GetDialogWidthAndHeightFromPrefs()
496 PrefService* prefs = Profile::FromBrowserContext(browser_context)->GetPrefs(); in GetDialogWidthAndHeightFromPrefs()
501 void CloudPrintWebDialogDelegate::Init(content::BrowserContext* browser_context, in Init() argument
507 GetDialogWidthAndHeightFromPrefs(browser_context, in Init()
597 void CreateDialogImpl(content::BrowserContext* browser_context, in CreateDialogImpl() argument
608 browser_context, modal_parent, data, std::string(), print_job_title, in CreateDialogImpl()
614 Profile::FromBrowserContext(browser_context), in CreateDialogImpl()
[all …]
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_unittest.cc57 virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context, in GetWebUIType() argument
62 virtual bool UseWebUIForURL(BrowserContext* browser_context, in UseWebUIForURL() argument
67 virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context, in UseWebUIBindingsForURL() argument
200 TestWebContents::Create(browser_context(), NULL)); in TEST_F()
421 TestWebContents::Create(browser_context(), instance1)); in TEST_F()
425 TestWebContents::Create(browser_context(), instance1)); in TEST_F()
495 TestWebContents::Create(browser_context(), ntp_rvh->GetSiteInstance()); in TEST_F()
565 static_cast<SiteInstanceImpl*>(SiteInstance::Create(browser_context())); in TEST_F()
569 TestWebContents::Create(browser_context(), instance)); in TEST_F()
573 manager.Init(browser_context(), instance, MSG_ROUTING_NONE, MSG_ROUTING_NONE); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_flash_lso_helper.cc21 content::BrowserContext* browser_context);
56 content::BrowserContext* browser_context) in BrowsingDataFlashLSOHelperImpl() argument
57 : settings_manager_(this, browser_context), in BrowsingDataFlashLSOHelperImpl()
101 content::BrowserContext* browser_context) { in Create() argument
102 return new BrowsingDataFlashLSOHelperImpl(browser_context); in Create()
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.h48 content::BrowserContext* browser_context,
51 content::BrowserContext* browser_context,
54 content::BrowserContext* browser_context,
74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
81 content::BrowserContext* browser_context,
84 content::BrowserContext* browser_context,
96 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
238 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context,
241 content::BrowserContext* browser_context,
[all …]
/external/chromium_org/apps/shell/
Dweb_view_window.cc20 explicit WebViewWindowContents(content::BrowserContext* browser_context) in WebViewWindowContents() argument
21 : browser_context_(browser_context) {} in WebViewWindowContents()
71 void ShowWebViewWindow(content::BrowserContext* browser_context, in ShowWebViewWindow() argument
75 params.delegate = new WebViewWindowContents(browser_context); in ShowWebViewWindow()
/external/chromium_org/content/shell/browser/
Dshell_content_browser_client.cc146 BrowserContext::GetDefaultStoragePartition(browser_context()) in RenderProcessHostCreated()
148 BrowserContext::GetDefaultStoragePartition(browser_context()) in RenderProcessHostCreated()
150 BrowserContext::GetDefaultStoragePartition(browser_context()) in RenderProcessHostCreated()
238 content::BrowserContext* browser_context, const GURL& url) { in SupportsBrowserPlugin() argument
317 ShellBrowserContext* ShellContentBrowserClient::browser_context() { in browser_context() function in content::ShellContentBrowserClient
318 return shell_browser_main_parts_->browser_context(); in browser_context()
327 return new ShellAccessTokenStore(browser_context()); in CreateAccessTokenStore()
333 if (content_browser_context == browser_context()) in ShellBrowserContextForBrowserContext()
334 return browser_context(); in ShellBrowserContextForBrowserContext()

1234567891011