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

Unified Diff: mojo/services/catalog/entry.cc

Issue 1775113003: Morph CapabilityFilter into caps::Capabilities, which supports capability classes (yet unimplemente… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@44cattests
Patch Set: . Created 4 years, 9 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: mojo/services/catalog/entry.cc
diff --git a/mojo/services/catalog/entry.cc b/mojo/services/catalog/entry.cc
index 9d6f40f449b2fb4d6a1098c90355a2330b17d996..095776c52535f165bad384a9b90f890087c8ef63 100644
--- a/mojo/services/catalog/entry.cc
+++ b/mojo/services/catalog/entry.cc
@@ -10,4 +10,10 @@ Entry::Entry() {}
Entry::Entry(const Entry& other) = default;
Entry::~Entry() {}
+bool Entry::operator==(const Entry& other) const {
+ return other.name == name && other.qualifier == qualifier &&
+ other.display_name == display_name &&
+ other.capabilities == capabilities;
+}
+
} // catalog

Powered by Google App Engine
This is Rietveld 408576698