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

Unified Diff: chrome/browser/profile.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/profile.h
===================================================================
--- chrome/browser/profile.h (revision 15945)
+++ chrome/browser/profile.h (working copy)
@@ -32,6 +32,7 @@
class SessionService;
class SpellChecker;
class SSLHostState;
+class SQLitePersistentCookieStore;
class TabRestoreService;
class TemplateURLFetcher;
class TemplateURLModel;
@@ -189,6 +190,10 @@
// profile.
virtual URLRequestContext* GetRequestContextForMedia() = 0;
+ // Returns the request context used for extension-related requests. This
+ // is only used for a separate cookie store currently.
+ virtual URLRequestContext* GetRequestContextForExtensions() = 0;
+
// Returns the session service for this profile. This may return NULL. If
// this profile supports a session service (it isn't off the record), and
// the session service hasn't yet been created, this forces creation of
@@ -311,6 +316,7 @@
virtual bool HasCreatedDownloadManager() const;
virtual URLRequestContext* GetRequestContext();
virtual URLRequestContext* GetRequestContextForMedia();
+ virtual URLRequestContext* GetRequestContextForExtensions();
virtual SessionService* GetSessionService();
virtual void ShutdownSessionService();
virtual bool HasSessionService() const;
@@ -378,6 +384,8 @@
ChromeURLRequestContext* media_request_context_;
+ ChromeURLRequestContext* extensions_request_context_;
+
scoped_refptr<DownloadManager> download_manager_;
scoped_refptr<HistoryService> history_service_;
scoped_refptr<WebDataService> web_data_service_;

Powered by Google App Engine
This is Rietveld 408576698