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

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

Issue 115204: Add a separate cookie store that's used for extensions.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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: chrome/browser/net/chrome_url_request_context.h
===================================================================
--- chrome/browser/net/chrome_url_request_context.h (revision 15945)
+++ chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -38,6 +38,11 @@
static ChromeURLRequestContext* CreateOriginalForMedia(Profile *profile,
const FilePath& disk_cache_path);
+ // Create an instance for an original profile for extensions. This is expected
+ // to get called on UI thread.
+ static ChromeURLRequestContext* CreateOriginalForExtensions(Profile *profile,
+ 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 ChromeURLRequestContext* CreateOffTheRecord(Profile* profile);
@@ -46,6 +51,10 @@
static ChromeURLRequestContext* CreateOffTheRecordForMedia(Profile* profile,
const FilePath& disk_cache_path);
+ // Create an instance of request context for OTR profile for extensions.
+ static ChromeURLRequestContext* CreateOffTheRecordForExtensions(
+ Profile* profile);
+
// 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();

Powered by Google App Engine
This is Rietveld 408576698