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

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

Issue 1245213002: [MediaRouter] Implement send binary message from PSDImpl to MRPManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated UT to verify the |data| Created 5 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/media_router_mojo_impl.h
diff --git a/chrome/browser/media/router/media_router_mojo_impl.h b/chrome/browser/media/router/media_router_mojo_impl.h
index 52126da1ae2f3ce65ac475a6be3381befc9ab6a0..24628d1cb08f7edb917595283194d56b80473e40 100644
--- a/chrome/browser/media/router/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/media_router_mojo_impl.h
@@ -72,6 +72,10 @@ class MediaRouterMojoImpl : public MediaRouter,
void SendRouteMessage(const MediaRoute::Id& route_id,
const std::string& message,
const SendRouteMessageCallback& callback) override;
+ void SendRouteBinaryMessage(
+ const MediaRoute::Id& route_id,
+ scoped_ptr<std::vector<uint8>> data,
+ const SendRouteMessageCallback& callback) override;
void ListenForRouteMessages(
const std::vector<MediaRoute::Id>& route_ids,
const PresentationSessionMessageCallback& message_cb) override;
@@ -131,6 +135,9 @@ class MediaRouterMojoImpl : public MediaRouter,
void DoSendSessionMessage(const MediaRoute::Id& route_id,
const std::string& message,
const SendRouteMessageCallback& callback);
+ void DoSendSessionBinaryMessage(const MediaRoute::Id& route_id,
+ scoped_ptr<std::vector<uint8>> data,
+ const SendRouteMessageCallback& callback);
void DoListenForRouteMessages(
const std::vector<MediaRoute::Id>& route_ids,
const PresentationSessionMessageCallback& message_cb);
« no previous file with comments | « chrome/browser/media/router/media_router.mojom ('k') | chrome/browser/media/router/media_router_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698