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

Unified Diff: chrome/browser/media/router/test_helper.h

Issue 2176613003: [Media Router] Clean up issues related code. (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/media/router/test_helper.h
diff --git a/chrome/browser/media/router/test_helper.h b/chrome/browser/media/router/test_helper.h
index 3179d1511b3c544be3f59e2c1e9f42b2a6641aae..94ce5d6b20e7188065c4af6f232d115bc3fe9707 100644
--- a/chrome/browser/media/router/test_helper.h
+++ b/chrome/browser/media/router/test_helper.h
@@ -47,24 +47,19 @@ MATCHER_P(EqualsIssue, other, "") {
if (arg.message() != other.message())
return false;
- if (!arg.default_action().Equals(other.default_action()))
+ if (arg.default_action() != other.default_action())
return false;
- if (arg.secondary_actions().size() != other.secondary_actions().size())
+ if (arg.secondary_actions() != other.secondary_actions())
return false;
- for (size_t i = 0; i < arg.secondary_actions().size(); ++i) {
- if (!arg.secondary_actions()[i].Equals(other.secondary_actions()[i]))
- return false;
- }
-
if (arg.route_id() != other.route_id())
return false;
if (arg.severity() != other.severity())
return false;
- if (arg.is_blocking() != other.is_blocking())
+ if (arg.IsBlocking() != other.IsBlocking())
return false;
if (arg.help_page_id() != other.help_page_id())

Powered by Google App Engine
This is Rietveld 408576698