Index: chrome/browser/media/router/mock_media_router.h |
diff --git a/chrome/browser/media/router/mock_media_router.h b/chrome/browser/media/router/mock_media_router.h |
index 5bb5b8a9b09078ab7a23331e951eb09afe067e77..3ee7e6b72d5ecf18302f3fd08b68de010131cc56 100644 |
--- a/chrome/browser/media/router/mock_media_router.h |
+++ b/chrome/browser/media/router/mock_media_router.h |
@@ -40,6 +40,16 @@ class MockMediaRouter : public MediaRouter { |
void(const MediaRoute::Id& route_id, |
const std::string& message, |
const SendRouteMessageCallback& callback)); |
+ void SendRouteBinaryMessage( |
+ const MediaRoute::Id& route_id, |
+ scoped_ptr<std::vector<uint8>> data, |
+ const SendRouteMessageCallback& callback) override { |
+ SendRouteBinaryMessageInternal(route_id, data.get(), callback); |
+ } |
+ MOCK_METHOD3(SendRouteBinaryMessageInternal, |
+ void(const MediaRoute::Id& route_id, |
+ std::vector<uint8>* data, |
+ const SendRouteMessageCallback& callback)); |
MOCK_METHOD2(ListenForRouteMessages, |
void(const std::vector<MediaRoute::Id>& route_ids, |
const PresentationSessionMessageCallback& message_cb)); |