summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 02:46:16 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 02:46:16 +0000
commit39bbe37508dc83f563a81fb2c7d4d09d541f6638 (patch)
treecbffa6b48ed664aa363f7a03d9c2500e20bcbb98 /chrome/browser/browsing_data_remover.cc
parentcdb57336b09c4b2ead39554cc47c3fc58ae7406f (diff)
downloadchromium_src-39bbe37508dc83f563a81fb2c7d4d09d541f6638.zip
chromium_src-39bbe37508dc83f563a81fb2c7d4d09d541f6638.tar.gz
chromium_src-39bbe37508dc83f563a81fb2c7d4d09d541f6638.tar.bz2
Add ENABLE_SAFE_BROWSING ifdefs in BrowsingDataRemover (for code added in r123132).
BUG=none TEST=linux_redux trybot TBR=mkwst@chromium.org Review URL: https://chromiumcodereview.appspot.com/9443042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index bdd0cd5..caf4c8c 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -265,6 +265,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
base::Unretained(this), base::Unretained(rq_context)));
}
+#if defined(ENABLE_SAFE_BROWSING)
// Clear the safebrowsing cookies only if time period is for "all time". It
// doesn't make sense to apply the time period of deleting in the last X
// hours/days to the safebrowsing cookies since they aren't the result of
@@ -282,6 +283,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
base::Unretained(this), base::Unretained(sb_context)));
}
}
+#endif
}
if (remove_mask & REMOVE_ORIGIN_BOUND_CERTS) {