diff options
author | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-15 16:02:22 +0000 |
---|---|---|
committer | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-15 16:02:22 +0000 |
commit | 6a58676affdaf48786a8e146b8a040e2efbbf920 (patch) | |
tree | 9f1e6fd745a42fd56c54dc73b3b3f31739f1a5a0 /chrome/browser/browser_process_impl.cc | |
parent | 67a505915359ef85c416d4edfba3827808bdd9b9 (diff) | |
download | chromium_src-6a58676affdaf48786a8e146b8a040e2efbbf920.zip chromium_src-6a58676affdaf48786a8e146b8a040e2efbbf920.tar.gz chromium_src-6a58676affdaf48786a8e146b8a040e2efbbf920.tar.bz2 |
Make SdchManager per-profile.
This will both allow SDCH dictionaries to be cached (as they can use the
cache associated with the profile) and will provide privacy protection
between different profiles (the existing of a dictionary in one profile
will not be leaked to another profile).
BUG=374914
R=jar@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277160
Review URL: https://codereview.chromium.org/298063006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 01e0d30..eac76f2 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -49,7 +49,6 @@ #include "chrome/browser/metrics/thread_watcher.h" #include "chrome/browser/net/chrome_net_log.h" #include "chrome/browser/net/crl_set_fetcher.h" -#include "chrome/browser/net/sdch_dictionary_fetcher.h" #include "chrome/browser/notifications/notification_ui_manager.h" #include "chrome/browser/plugins/chrome_plugin_service_filter.h" #include "chrome/browser/plugins/plugin_finder.h" @@ -218,13 +217,6 @@ BrowserProcessImpl::~BrowserProcessImpl() { void BrowserProcessImpl::StartTearDown() { TRACE_EVENT0("shutdown", "BrowserProcessImpl::StartTearDown"); - // We need to shutdown the SdchDictionaryFetcher as it regularly holds - // a pointer to a URLFetcher, and that URLFetcher (upon destruction) will do - // a PostDelayedTask onto the IO thread. This shutdown call will both discard - // any pending URLFetchers, and avoid creating any more. - BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, - base::Bind(&SdchDictionaryFetcher::Shutdown)); - // We need to destroy the MetricsServicesManager, IntranetRedirectDetector, // PromoResourceService, and SafeBrowsing ClientSideDetectionService (owned by // the SafeBrowsingService) before the io_thread_ gets destroyed, since their |