Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4152)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 7745048: Allow content to get the system request context, a request context not tied to any profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | content/browser/content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index c8f84c274e13d88c1d46ed1f53f0a5a1f93d0b2b..7e286d0163846a1d47fbc23067f86db452cdd1ff 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -745,6 +745,12 @@ ChromeContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() {
return Profile::Deprecated::GetDefaultRequestContext();
}
+net::URLRequestContextGetter*
+ChromeContentBrowserClient::GetSystemRequestContext() {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ return g_browser_process->system_request_context();
+}
+
#if defined(OS_LINUX)
int ChromeContentBrowserClient::GetCrashSignalFD(
const std::string& process_type) {
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | content/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698