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

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

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO Created 8 years, 2 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/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 6cadb70c6d84945e0ff4211ef3a5cbd1d7be8bd1..8d40361331c31a39ec988c94568744e1ceca0346 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -47,18 +47,6 @@ OffTheRecordProfileIOData::Handle::Handle(Profile* profile)
OffTheRecordProfileIOData::Handle::~Handle() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- if (main_request_context_getter_)
- main_request_context_getter_->CleanupOnUIThread();
- if (extensions_request_context_getter_)
- extensions_request_context_getter_->CleanupOnUIThread();
-
- // Clean up all isolated app request contexts.
- for (ChromeURLRequestContextGetterMap::iterator iter =
- app_request_context_getter_map_.begin();
- iter != app_request_context_getter_map_.end();
- ++iter) {
- iter->second->CleanupOnUIThread();
- }
io_data_->ShutdownOnUIThread();
}

Powered by Google App Engine
This is Rietveld 408576698