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

Unified Diff: chrome/browser/intents/default_web_intent_service.cc

Issue 10824099: Add == support for DefaultWebIntentService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/intents/default_web_intent_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/default_web_intent_service.cc
diff --git a/chrome/browser/intents/default_web_intent_service.cc b/chrome/browser/intents/default_web_intent_service.cc
index fc923fb447d07647ca45d24eb5b1d9d22f030500..ba887d1dfa3f4dbbbbc6ec95a776aa8211e2cabe 100644
--- a/chrome/browser/intents/default_web_intent_service.cc
+++ b/chrome/browser/intents/default_web_intent_service.cc
@@ -10,3 +10,13 @@ DefaultWebIntentService::DefaultWebIntentService()
suppression(0) {}
DefaultWebIntentService::~DefaultWebIntentService() {}
+
+bool DefaultWebIntentService::operator==(
+ const DefaultWebIntentService& other) const {
+ return action == other.action &&
+ type == other.type &&
+ url_pattern == other.url_pattern &&
+ user_date == other.user_date &&
+ suppression == other.suppression &&
+ service_url == other.service_url;
+}
« no previous file with comments | « chrome/browser/intents/default_web_intent_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698