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

Unified Diff: trunk/src/chrome/browser/net/chrome_url_request_context.h

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
Index: trunk/src/chrome/browser/net/chrome_url_request_context.h
===================================================================
--- trunk/src/chrome/browser/net/chrome_url_request_context.h (revision 219785)
+++ trunk/src/chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -100,6 +100,11 @@
static ChromeURLRequestContextGetter* CreateOriginalForMedia(
Profile* profile, const ProfileIOData* profile_io_data);
+ // Create an instance for an original profile for extensions. This is expected
+ // to get called on UI thread.
+ static ChromeURLRequestContextGetter* CreateOriginalForExtensions(
+ Profile* profile, const ProfileIOData* profile_io_data);
+
// Create an instance for an original profile for an app with isolated
// storage. This is expected to get called on UI thread.
static ChromeURLRequestContextGetter* CreateOriginalForIsolatedApp(
@@ -125,6 +130,11 @@
const ProfileIOData* profile_io_data,
content::ProtocolHandlerMap* protocol_handlers);
+ // Create an instance for an OTR profile for extensions. This is expected
+ // to get called on UI thread.
+ static ChromeURLRequestContextGetter* CreateOffTheRecordForExtensions(
+ Profile* profile, const ProfileIOData* profile_io_data);
+
// Create an instance for an OTR profile for an app with isolated storage.
// This is expected to get called on UI thread.
static ChromeURLRequestContextGetter* CreateOffTheRecordForIsolatedApp(

Powered by Google App Engine
This is Rietveld 408576698