Commit 2bd57fd7 authored by smckay@chromium.org's avatar smckay@chromium.org

Add == support.


BUG=137907

Review URL: https://chromiumcodereview.appspot.com/10824099

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149118 0039d316-1c4b-4281-b951-d872f2087c98
parent d9f7ab3a
......@@ -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;
}
......@@ -36,6 +36,8 @@ struct DefaultWebIntentService {
DefaultWebIntentService();
~DefaultWebIntentService();
bool operator==(const DefaultWebIntentService& other) const;
};
#endif // CHROME_BROWSER_INTENTS_DEFAULT_WEB_INTENT_SERVICE_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment