summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 16:02:50 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 16:02:50 +0000
commitb503914167a6274410f0e36f44f1f2e2ddf3ee32 (patch)
treefd6ac7eb116c79814b327c8ecf468a4f290ac337 /chrome/browser/browsing_data_remover.cc
parentd237cec53e16749a35c6f9c0cc5920eed8eabb36 (diff)
downloadchromium_src-b503914167a6274410f0e36f44f1f2e2ddf3ee32.zip
chromium_src-b503914167a6274410f0e36f44f1f2e2ddf3ee32.tar.gz
chromium_src-b503914167a6274410f0e36f44f1f2e2ddf3ee32.tar.bz2
Revert "Modifying prefetch to account for multi-profile."
This appears to make all the CF bots crash in chrome_frame_net_tests. This reverts commit r97446. BUG=89937 TEST=n/a TBR=rlp Review URL: http://codereview.chromium.org/7685009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index 138ce0c..56bbd7d 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -19,7 +19,6 @@
#include "chrome/browser/io_thread.h"
#include "chrome/browser/net/chrome_net_log.h"
#include "chrome/browser/net/chrome_url_request_context.h"
-#include "chrome/browser/net/predictor.h"
#include "chrome/browser/password_manager/password_store.h"
#include "chrome/browser/plugin_data_remover.h"
#include "chrome/browser/prerender/prerender_manager.h"
@@ -366,13 +365,7 @@ void BrowsingDataRemover::ClearNetworkingHistory(IOThread* io_thread) {
// This function should be called on the IO thread.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- io_thread->ClearHostCache();
-
- chrome_browser_net::Predictor* predictor = profile_->GetNetworkPredictor();
- if (predictor) {
- predictor->DiscardInitialNavigationHistory();
- predictor->DiscardAllResults();
- }
+ io_thread->ClearNetworkingHistory();
// Notify the UI thread that we are done.
BrowserThread::PostTask(