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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 9221008: Move cleanup that happens on IO thread destruction to content, so that not every embedder has to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 117868)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -77,7 +77,6 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/render_process_host.h"
-#include "content/public/common/url_fetcher.h"
#include "media/audio/audio_manager.h"
#include "net/socket/client_socket_pool_manager.h"
#include "net/url_request/url_request_context_getter.h"
@@ -198,14 +197,6 @@
// those things during teardown.
notification_ui_manager_.reset();
- // FIXME - We shouldn't need this, it's because of DefaultRequestContext! :(
- // We need to kill off all URLFetchers using profile related
- // URLRequestContexts. Normally that'd be covered by deleting the Profiles,
- // but we have some URLFetchers using the DefaultRequestContext, so they need
- // to be cancelled too. Remove this when DefaultRequestContext goes away.
- BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
- base::Bind(&content::URLFetcher::CancelAll));
-
// Need to clear profiles (download managers) before the io_thread_.
profile_manager_.reset();
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698