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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index ba57faf3df4123397e484eb063271a78fd0ca27f..ec95c7d9b3ac00c5d6c211e9ad4105db29382651 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -95,9 +95,10 @@ class ProfileIOData {
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) const;
+ net::CookieStore* GetExtensionsCookieStore() const;
+
ChromeURLRequestContext* GetMainRequestContext() const;
ChromeURLRequestContext* GetMediaRequestContext() const;
- ChromeURLRequestContext* GetExtensionsRequestContext() const;
ChromeURLRequestContext* GetIsolatedAppRequestContext(
ChromeURLRequestContext* main_context,
const StoragePartitionDescriptor& partition_descriptor,
@@ -159,10 +160,6 @@ class ProfileIOData {
return &one_click_signin_rejected_email_list_;
}
- ChromeURLRequestContext* extensions_request_context() const {
awong 2013/07/31 00:51:18 There were 2 accessors for the same field in this
- return extensions_request_context_.get();
- }
-
BooleanPrefMember* safe_browsing_enabled() const {
return &safe_browsing_enabled_;
}
@@ -397,9 +394,6 @@ class ProfileIOData {
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) const = 0;
- // Initializes the RequestContext for extensions.
- virtual void InitializeExtensionsRequestContext(
- ProfileParams* profile_params) const = 0;
// Does an on-demand initialization of a RequestContext for the given
// isolated app.
virtual ChromeURLRequestContext* InitializeAppRequestContext(
@@ -530,7 +524,9 @@ class ProfileIOData {
// These are only valid in between LazyInitialize() and their accessor being
// called.
mutable scoped_ptr<ChromeURLRequestContext> main_request_context_;
- mutable scoped_ptr<ChromeURLRequestContext> extensions_request_context_;
+ protected:
+ mutable scoped_refptr<net::CookieStore> extension_cookie_store_;
+ private:
// One URLRequestContext per isolated app for main and media requests.
mutable URLRequestContextMap app_request_context_map_;
mutable URLRequestContextMap isolated_media_request_context_map_;
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698