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

Unified Diff: chrome/browser/browsing_data/registrable_domain_filter_builder.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
« no previous file with comments | « chrome/browser/browsing_data/registrable_domain_filter_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/registrable_domain_filter_builder.cc
diff --git a/chrome/browser/browsing_data/registrable_domain_filter_builder.cc b/chrome/browser/browsing_data/registrable_domain_filter_builder.cc
index a0604834ea0e8dc27d490b4505b30f0262024fce..139b046f7983f020dc8bceddcb5d071c3f61baf0 100644
--- a/chrome/browser/browsing_data/registrable_domain_filter_builder.cc
+++ b/chrome/browser/browsing_data/registrable_domain_filter_builder.cc
@@ -107,6 +107,11 @@ RegistrableDomainFilterBuilder::BuildChannelIDFilter() const {
base::Owned(domains_and_ips), mode());
}
+bool RegistrableDomainFilterBuilder::operator==(
+ const RegistrableDomainFilterBuilder& other) const {
+ return domain_list_ == other.domain_list_ && mode() == other.mode();
+}
+
bool RegistrableDomainFilterBuilder::IsEmpty() const {
return domain_list_.empty();
}
« no previous file with comments | « chrome/browser/browsing_data/registrable_domain_filter_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698