Index: chrome/browser/net/chrome_url_request_context.h |
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h |
index 93f0e373b96d3600d0d0ddc6c520dd49ecc84a37..ab2d630d67755d0c41ba8061cbd33c599b2c491c 100644 |
--- a/chrome/browser/net/chrome_url_request_context.h |
+++ b/chrome/browser/net/chrome_url_request_context.h |
@@ -245,6 +245,12 @@ class ChromeURLRequestContextGetter : public URLRequestContextGetter, |
static ChromeURLRequestContextGetter* CreateOriginalForExtensions( |
Profile* profile, const FilePath& cookie_store_path); |
+ // 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( |
+ Profile* profile, const Extension* app, |
+ const FilePath& cookie_store_path); |
+ |
// Create an instance for use with an OTR profile. This is expected to get |
// called on the UI thread. |
static ChromeURLRequestContextGetter* CreateOffTheRecord(Profile* profile); |
@@ -254,6 +260,11 @@ class ChromeURLRequestContextGetter : public URLRequestContextGetter, |
static ChromeURLRequestContextGetter* CreateOffTheRecordForExtensions( |
Profile* profile); |
+ // 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( |
+ Profile* profile, const Extension* app); |
+ |
// Clean up UI thread resources. This is expected to get called on the UI |
// thread before the instance is deleted on the IO thread. |
void CleanupOnUIThread(); |