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

Unified Diff: content/browser/content_browser_client.h

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.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/content_browser_client.h
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 62550cc50ae33a356cdb75b252c2c1a63215d9b6..7fdff598a10d8ada0af30b14123db4d3c094e12a 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -287,6 +287,10 @@ class ContentBrowserClient {
virtual net::URLRequestContextGetter*
GetDefaultRequestContextDeprecatedCrBug64339() = 0;
+ // Returns the system request context, a context tied to no browser context.
+ // This is called on the UI thread.
+ virtual net::URLRequestContextGetter* GetSystemRequestContext() = 0;
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type) = 0;
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698