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

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

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
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f3b2bd84e45eca784eb10cc829cb957b08f9f127..2c0b70ac1e19724c805c3875467950fc78097b98 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -396,8 +396,6 @@ ProfileIOData::~ProfileIOData() {
if (main_request_context_.get())
main_request_context_->AssertNoURLRequests();
- if (extensions_request_context_.get())
- extensions_request_context_->AssertNoURLRequests();
for (URLRequestContextMap::iterator it = app_request_context_map_.begin();
it != app_request_context_map_.end(); ++it) {
it->second->AssertNoURLRequests();
@@ -464,9 +462,9 @@ ChromeURLRequestContext* ProfileIOData::GetMediaRequestContext() const {
return context;
}
-ChromeURLRequestContext* ProfileIOData::GetExtensionsRequestContext() const {
+net::CookieStore* ProfileIOData::GetExtensionsCookieStore() const {
DCHECK(initialized_);
- return extensions_request_context_.get();
+ return extension_cookie_store_.get();
}
ChromeURLRequestContext* ProfileIOData::GetIsolatedAppRequestContext(
@@ -638,10 +636,6 @@ void ProfileIOData::Init(
main_request_context_.reset(
new ChromeURLRequestContext(ChromeURLRequestContext::CONTEXT_TYPE_MAIN,
load_time_stats_));
- extensions_request_context_.reset(
- new ChromeURLRequestContext(
- ChromeURLRequestContext::CONTEXT_TYPE_EXTENSIONS,
- load_time_stats_));
ChromeNetworkDelegate* network_delegate =
new ChromeNetworkDelegate(

Powered by Google App Engine
This is Rietveld 408576698