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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.cc

Issue 2161583002: Make BrowsingDataRemover mockable and filter builders comparable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: chrome/browser/browsing_data/browsing_data_remover.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 455327d7af9f6218588449814c77b188fd23c7b0..19d9ce727ab114bcb055f203cd5d89d389aba9a8 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -290,6 +290,11 @@ BrowsingDataRemover::NotificationDetails::NotificationDetails(
BrowsingDataRemover::NotificationDetails::~NotificationDetails() {}
+bool BrowsingDataRemover::TimeRange::operator==(
+ const BrowsingDataRemover::TimeRange& other) const {
+ return begin == other.begin && end == other.end;
+}
+
// static
BrowsingDataRemover::TimeRange BrowsingDataRemover::Unbounded() {
return TimeRange(base::Time(), base::Time::Max());
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.h ('k') | chrome/browser/browsing_data/origin_filter_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698