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

Unified Diff: trunk/src/chrome/browser/profiles/profile_impl_io_data.h

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/chrome/browser/profiles/profile_impl_io_data.h
===================================================================
--- trunk/src/chrome/browser/profiles/profile_impl_io_data.h (revision 219785)
+++ trunk/src/chrome/browser/profiles/profile_impl_io_data.h (working copy)
@@ -36,14 +36,17 @@
// Init() must be called before ~Handle(). It records most of the
// parameters needed to construct a ChromeURLRequestContextGetter.
- void Init(const base::FilePath& server_bound_cert_path,
+ void Init(const base::FilePath& cookie_path,
+ const base::FilePath& server_bound_cert_path,
const base::FilePath& cache_path,
int cache_max_size,
const base::FilePath& media_cache_path,
int media_cache_max_size,
+ const base::FilePath& extensions_cookie_path,
const base::FilePath& profile_path,
const base::FilePath& infinite_cache_path,
chrome_browser_net::Predictor* predictor,
+ bool restore_old_session_cookies,
quota::SpecialStoragePolicy* special_storage_policy);
// These Create*ContextGetter() functions are only exposed because the
@@ -68,6 +71,8 @@
scoped_refptr<ChromeURLRequestContextGetter>
GetMediaRequestContextGetter() const;
scoped_refptr<ChromeURLRequestContextGetter>
+ GetExtensionsRequestContextGetter() const;
+ scoped_refptr<ChromeURLRequestContextGetter>
GetIsolatedMediaRequestContextGetter(
const base::FilePath& partition_path,
bool in_memory) const;
@@ -124,12 +129,15 @@
~LazyParams();
// All of these parameters are intended to be read on the IO thread.
+ base::FilePath cookie_path;
base::FilePath server_bound_cert_path;
base::FilePath cache_path;
int cache_max_size;
base::FilePath media_cache_path;
int media_cache_max_size;
+ base::FilePath extensions_cookie_path;
base::FilePath infinite_cache_path;
+ bool restore_old_session_cookies;
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy;
};
@@ -142,6 +150,8 @@
virtual void InitializeInternal(
ProfileParams* profile_params,
content::ProtocolHandlerMap* protocol_handlers) const OVERRIDE;
+ virtual void InitializeExtensionsRequestContext(
+ ProfileParams* profile_params) const OVERRIDE;
virtual ChromeURLRequestContext* InitializeAppRequestContext(
ChromeURLRequestContext* main_context,
const StoragePartitionDescriptor& partition_descriptor,
« no previous file with comments | « trunk/src/chrome/browser/profiles/profile_impl.cc ('k') | trunk/src/chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698