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

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

Issue 2947403004: [MediaRouter] Replace RouteMessage with PresentationConnectionMessage (Closed)
Patch Set: rebase Created 3 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/route_message_observer.h
diff --git a/chrome/browser/media/router/route_message_observer.h b/chrome/browser/media/router/route_message_observer.h
index c4f0e69329ed3171d86d9024f39ccf041b0f1bd4..6b26620d7a72e230334b5a7729a951557865c6d1 100644
--- a/chrome/browser/media/router/route_message_observer.h
+++ b/chrome/browser/media/router/route_message_observer.h
@@ -13,13 +13,17 @@
#include "base/macros.h"
#include "chrome/common/media_router/media_route.h"
+namespace content {
+struct PresentationConnectionMessage;
+}
+
namespace media_router {
class MediaRouter;
-struct RouteMessage;
// Observes messages originating from the MediaSink connected to a MediaRoute.
// Messages are received from MediaRouter via |OnMessagesReceived|.
+// TODO(imcheng): Rename to PresentationConnectionMessageObserver.
class RouteMessageObserver {
public:
// |route_id|: ID of MediaRoute to listen for messages.
@@ -30,7 +34,7 @@ class RouteMessageObserver {
// Invoked by |router_| whenever messages are received from the route sink.
// |messages| is guaranteed to be non-empty.
virtual void OnMessagesReceived(
- const std::vector<RouteMessage>& messages) = 0;
+ const std::vector<content::PresentationConnectionMessage>& messages) = 0;
const MediaRoute::Id& route_id() const { return route_id_; }
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_impl.cc ('k') | chrome/browser/media/router/test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698