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

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

Issue 1173753003: [Media Router] Implement JoinRoute + update CreateRoute API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix again x2 Created 5 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 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 fd0042469d0486556613637777918703ecdfda53..343583fc90f1ec69e20e515d56b9651d0078fc8b 100644
--- a/chrome/browser/media/router/test_helper.h
+++ b/chrome/browser/media/router/test_helper.h
@@ -41,10 +41,19 @@ class MockMojoMediaRouterService : public interfaces::MediaRouter {
MockMojoMediaRouterService();
~MockMojoMediaRouterService() override;
- MOCK_METHOD3(CreateRoute,
- void(const mojo::String& source,
+ MOCK_METHOD6(CreateRoute,
+ void(const mojo::String& source_urn,
const mojo::String& sink_id,
+ const mojo::String& presentation_id,
+ const mojo::String& origin,
+ int tab_id,
const CreateRouteCallback& callback));
+ MOCK_METHOD5(JoinRoute,
+ void(const mojo::String& source_urn,
+ const mojo::String& presentation_id,
+ const mojo::String& origin,
+ int tab_id,
+ const JoinRouteCallback& callback));
MOCK_METHOD1(CloseRoute, void(const mojo::String& route_id));
MOCK_METHOD1(StartObservingMediaSinks, void(const mojo::String& source));
MOCK_METHOD1(StopObservingMediaSinks, void(const mojo::String& source));

Powered by Google App Engine
This is Rietveld 408576698