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

Unified Diff: remoting/protocol/connection_to_client.cc

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/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index 9925648dd7ecaf43beb203891aa0e7d9a686aa1b..7967abb1b01ee258f9ced376ca76adc7a781e373 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -43,20 +43,6 @@ protocol::Session* ConnectionToClient::session() {
return session_;
}
-void ConnectionToClient::SendInitClientMessage(int width, int height) {
- DCHECK_EQ(loop_, MessageLoop::current());
-
- // If we are disconnected then return.
- if (!session_)
- return;
-
- ChromotingHostMessage msg;
- msg.mutable_init_client()->set_width(width);
- msg.mutable_init_client()->set_height(height);
- DCHECK(msg.IsInitialized());
- control_writer_.SendMessage(msg);
-}
-
void ConnectionToClient::SendVideoPacket(const VideoPacket& packet) {
DCHECK_EQ(loop_, MessageLoop::current());

Powered by Google App Engine
This is Rietveld 408576698