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 15d53e8eb3b7022f0fb64432ef9068ed6cede09e..df8cc9b6544b0d69cf2167e886347a74337f70db 100644 |
--- a/chrome/browser/net/chrome_url_request_context.h |
+++ b/chrome/browser/net/chrome_url_request_context.h |
@@ -28,10 +28,20 @@ class ChromeURLRequestContext : public URLRequestContext, |
Profile* profile, const FilePath& cookie_store_path, |
const FilePath& disk_cache_path); |
+ // Create an instance for an original profile for media. This is expected to |
+ // get called on UI thread. This method takes a profile and reuses the |
+ // 'original' URLRequestContext for common files. |
+ static ChromeURLRequestContext* CreateOriginalForMedia(Profile *profile, |
+ const FilePath& disk_cache_path); |
+ |
// Create an instance for use with an OTR profile. This is expected to get |
// called on the UI thread. |
static ChromeURLRequestContext* CreateOffTheRecord(Profile* profile); |
+ // Create an instance of request context for OTR profile for media resources. |
+ static ChromeURLRequestContext* CreateOffTheRecordForMedia(Profile* profile, |
+ const FilePath& disk_cache_path); |
+ |
// 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(); |