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

Side by Side Diff: chrome/browser/media/router/test_helper.h

Issue 2014903002: [Media Router] Consistently refer to issue's learn more help page by ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 if (arg.route_id() != other.route_id()) 61 if (arg.route_id() != other.route_id())
62 return false; 62 return false;
63 63
64 if (arg.severity() != other.severity()) 64 if (arg.severity() != other.severity())
65 return false; 65 return false;
66 66
67 if (arg.is_blocking() != other.is_blocking()) 67 if (arg.is_blocking() != other.is_blocking())
68 return false; 68 return false;
69 69
70 if (arg.help_url() != other.help_url()) 70 if (arg.help_page_id() != other.help_page_id())
71 return false; 71 return false;
72 72
73 return true; 73 return true;
74 } 74 }
75 75
76 MATCHER_P(IssueTitleEquals, title, "") { 76 MATCHER_P(IssueTitleEquals, title, "") {
77 return arg.title() == title; 77 return arg.title() == title;
78 } 78 }
79 79
80 MATCHER_P(StateChageInfoEquals, other, "") { 80 MATCHER_P(StateChageInfoEquals, other, "") {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 public: 114 public:
115 MockPresentationConnectionStateChangedCallback(); 115 MockPresentationConnectionStateChangedCallback();
116 ~MockPresentationConnectionStateChangedCallback(); 116 ~MockPresentationConnectionStateChangedCallback();
117 MOCK_METHOD1(Run, 117 MOCK_METHOD1(Run,
118 void(const content::PresentationConnectionStateChangeInfo&)); 118 void(const content::PresentationConnectionStateChangeInfo&));
119 }; 119 };
120 120
121 } // namespace media_router 121 } // namespace media_router
122 122
123 #endif // CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_ 123 #endif // CHROME_BROWSER_MEDIA_ROUTER_TEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698