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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 10 years, 1 month 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
« no previous file with comments | « remoting/proto/video.proto ('k') | remoting/protocol/jingle_connection_to_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index 39aeecd03c5c4e98b771a1076f6ae1293d89faab..e2b0ce2647f281066340edbd136fb75b5160ffa4 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -15,6 +15,7 @@
namespace remoting {
namespace protocol {
+class SessionConfig;
class VideoStub;
class ConnectionToHost {
@@ -23,11 +24,6 @@ class ConnectionToHost {
public:
virtual ~HostEventCallback() {}
- // Handles an event received by the protocol::ConnectionToHost. Ownership
- // of the message is passed to the callee.
- virtual void HandleMessage(ConnectionToHost* conn,
- ChromotingHostMessage* message) = 0;
-
// Called when the network connection is opened.
virtual void OnConnectionOpened(ConnectionToHost* conn) = 0;
@@ -48,6 +44,8 @@ class ConnectionToHost {
VideoStub* video_stub) = 0;
virtual void Disconnect() = 0;
+ virtual const SessionConfig* config() = 0;
+
// Send an input event to the host.
virtual void SendEvent(const ChromotingClientMessage& msg) = 0;
« no previous file with comments | « remoting/proto/video.proto ('k') | remoting/protocol/jingle_connection_to_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698