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 ba5a47787e8b624aedce8884dd3ec92ac5c56e6a..edabcfca3192c0a53be5a86f73d7641d874aace8 100644 |
--- a/chrome/browser/media/router/test_helper.h |
+++ b/chrome/browser/media/router/test_helper.h |
@@ -61,6 +61,16 @@ class MockMediaRouteProvider : public interfaces::MediaRouteProvider { |
void(const mojo::String& media_route_id, |
const mojo::String& message, |
const SendRouteMessageCallback& callback)); |
+ void SendRouteBinaryMessage( |
+ const mojo::String& media_route_id, |
+ mojo::Array<uint8> data, |
+ const SendRouteMessageCallback& callback) override { |
+ SendRouteBinaryMessageInternal(media_route_id, data.storage(), callback); |
+ } |
+ MOCK_METHOD3(SendRouteBinaryMessageInternal, |
+ void(const mojo::String& media_route_id, |
+ const std::vector<uint8>& data, |
+ const SendRouteMessageCallback& callback)); |
void ListenForRouteMessages(mojo::Array<mojo::String> route_ids, |
const ListenForRouteMessagesCallback& callback) { |
ListenForRouteMessagesInteral(route_ids.storage(), callback); |