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

Unified Diff: chrome/browser/media/cast_remoting_connector.h

Issue 2947403004: [MediaRouter] Replace RouteMessage with PresentationConnectionMessage (Closed)
Patch Set: Addressed Takumi's comments Created 3 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/cast_remoting_connector.h
diff --git a/chrome/browser/media/cast_remoting_connector.h b/chrome/browser/media/cast_remoting_connector.h
index 9fb6d8278aaf2b091c61504ba7ef76f1dcb4c1b6..d5bba5883c734f1d4a5d5341ced3d5702ad87581 100644
--- a/chrome/browser/media/cast_remoting_connector.h
+++ b/chrome/browser/media/cast_remoting_connector.h
@@ -10,12 +10,12 @@
#include "base/memory/weak_ptr.h"
#include "base/supports_user_data.h"
#include "chrome/browser/media/router/media_routes_observer.h"
-#include "chrome/common/media_router/route_message.h"
#include "media/mojo/interfaces/remoting.mojom.h"
namespace content {
class RenderFrameHost;
class WebContents;
+struct PresentationConnectionMessage;
}
// CastRemotingConnector connects a single source (a media element in a render
@@ -134,13 +134,13 @@ class CastRemotingConnector
void SendMessageToProvider(const std::string& message);
// Called by the current MessageObserver to process messages observed on the
- // remoting route. There are two types of messages: 1) TEXT notification
+ // remoting route. There are two types of messages: 1) text notification
// messages from the Cast Provider, to report on the current state of a
- // remoting session between Chrome and the remote device, and 2) BINARY
+ // remoting session between Chrome and the remote device, and 2) binary
// messages, to be passed directly to the active remoting source during a
// remoting session.
void ProcessMessagesFromRoute(
- const std::vector<media_router::RouteMessage>& messages);
+ const std::vector<content::PresentationConnectionMessage>& messages);
// Error handlers for message/data sending during an active remoting
// session. When a failure occurs, these immediately force-stop remoting.

Powered by Google App Engine
This is Rietveld 408576698