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

Unified Diff: remoting/client/chromoting_client.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/base/util.cc ('k') | remoting/client/chromoting_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.h
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index 9ef2b39d46c546efae15e72b81dbda3a85d2d3d0..7bbe306b4a281085b5372cb0fb6df5363f756c1a 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -19,9 +19,7 @@ class MessageLoop;
namespace remoting {
-class ChromotingHostMessage;
class ClientContext;
-class InitClientMessage;
class InputHandler;
class RectangleUpdateDecoder;
@@ -55,8 +53,6 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
virtual void SetViewport(int x, int y, int width, int height);
// ConnectionToHost::HostEventCallback implementation.
- virtual void HandleMessage(protocol::ConnectionToHost* conn,
- ChromotingHostMessage* messages);
virtual void OnConnectionOpened(protocol::ConnectionToHost* conn);
virtual void OnConnectionClosed(protocol::ConnectionToHost* conn);
virtual void OnConnectionFailed(protocol::ConnectionToHost* conn);
@@ -75,6 +71,9 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
MessageLoop* message_loop();
+ // Initializes connection.
+ void Initialize();
+
// Convenience method for modifying the state on this object's message loop.
void SetConnectionState(ConnectionState s);
@@ -84,9 +83,6 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
void OnPacketDone();
- // Handles for chromotocol messages.
- void InitClient(const InitClientMessage& msg);
-
// The following are not owned by this class.
ClientConfig config_;
ClientContext* context_;
« no previous file with comments | « remoting/base/util.cc ('k') | remoting/client/chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698