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

Unified Diff: remoting/protocol/jingle_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: fixed compilation on windows and mac 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
Index: remoting/protocol/jingle_connection_to_host.h
diff --git a/remoting/protocol/jingle_connection_to_host.h b/remoting/protocol/jingle_connection_to_host.h
index fe56e95dce1015c3e944b9a270c9217879fa91c3..7c968f2e13c61c0eb01eeb46ac0f44f0bce2cdc5 100644
--- a/remoting/protocol/jingle_connection_to_host.h
+++ b/remoting/protocol/jingle_connection_to_host.h
@@ -34,6 +34,7 @@ class MessageLoop;
namespace remoting {
class JingleThread;
+class VideoPacket;
namespace protocol {
@@ -54,6 +55,8 @@ class JingleConnectionToHost : public ConnectionToHost,
VideoStub* video_stub);
virtual void Disconnect();
+ virtual const ChromotocolConfig* config();
+
virtual void SendEvent(const ChromotingClientMessage& msg);
// JingleClient::Callback interface.
@@ -76,7 +79,7 @@ class JingleConnectionToHost : public ConnectionToHost,
void InitSession();
// Callback for |control_reader_|.
- void OnControlMessage(ChromotingHostMessage* msg);
+ void OnControlMessage(ControlMessage* msg);
// Callback for |video_reader_|.
void OnVideoPacket(VideoPacket* packet);

Powered by Google App Engine
This is Rietveld 408576698