summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 05:12:47 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 05:12:47 +0000
commit515177468b25f61284c8f54f2894f4806e6b0bd3 (patch)
tree627244616f447e0350c5c1574317bda6613393e2 /chrome/browser/browsing_data_remover.cc
parentc65c6e3150af3dc37471c76b10d2b05cf7367aa3 (diff)
downloadchromium_src-515177468b25f61284c8f54f2894f4806e6b0bd3.zip
chromium_src-515177468b25f61284c8f54f2894f4806e6b0bd3.tar.gz
chromium_src-515177468b25f61284c8f54f2894f4806e6b0bd3.tar.bz2
Remove PassiveLogCollector, and its supporting infrastructure.
This makes it so that about:net-internals no longer includes "passively captured" events. This wasn't a frequently used feature, yet was adding some memory bloat to the browser process. BUG=90789 Review URL: http://codereview.chromium.org/9363055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index c2bf211..ea084bb 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -22,7 +22,6 @@
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/history/history.h"
#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"
@@ -412,13 +411,6 @@ void BrowsingDataRemover::NotifyAndDeleteIfDone() {
if (!all_done())
return;
- // The NetLog contains download history, but may also contain form data,
- // cookies and passwords. Simplest just to always clear it. Must be cleared
- // after the cache, as cleaning up the disk cache exposes some of the history
- // in the NetLog.
- if (g_browser_process->net_log())
- g_browser_process->net_log()->ClearAllPassivelyCapturedEvents();
-
set_removing(false);
// Send global notification, then notify any explicit observers.