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 76340771e566a08d83e952ca6f8de2848227a0a2..de8a616ebbe7424f2878bf64de918469798cc540 100644 |
--- a/chrome/browser/net/chrome_url_request_context.h |
+++ b/chrome/browser/net/chrome_url_request_context.h |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/prefs/pref_change_registrar.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/prerender/prerender_manager.h" |
+#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_icon_set.h" |
#include "chrome/common/net/url_request_context_getter.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
@@ -222,6 +223,12 @@ class ChromeURLRequestContextGetter : public URLRequestContextGetter, |
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( |
willchan no longer on Chromium
2011/03/01 23:39:24
http://dev.chromium.org/developers/coding-style#Co
Charlie Reis
2011/03/03 01:08:05
Done. Ditto for below.
|
+ Profile* profile, const ProfileIOData* profile_io_data, |
+ const Extension* installed_app); |
+ |
// Create an instance for use with an OTR profile. This is expected to get |
// called on the UI thread. |
static ChromeURLRequestContextGetter* CreateOffTheRecord( |
@@ -232,6 +239,12 @@ class ChromeURLRequestContextGetter : public URLRequestContextGetter, |
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( |
+ Profile* profile, const ProfileIOData* profile_io_data, |
+ const Extension* installed_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(); |