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

Side by Side Diff: remoting/host/client_connection.h

Issue 4136010: Cleanups in the video encoding decoding code. Reenable VP8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed arm build 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/capturer_mac.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_CLIENT_CONNECTION_H_ 5 #ifndef REMOTING_HOST_CLIENT_CONNECTION_H_
6 #define REMOTING_HOST_CLIENT_CONNECTION_H_ 6 #define REMOTING_HOST_CLIENT_CONNECTION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 virtual void Init(ChromotocolConnection* connection); 58 virtual void Init(ChromotocolConnection* connection);
59 59
60 // Returns the connection in use. 60 // Returns the connection in use.
61 virtual ChromotocolConnection* connection(); 61 virtual ChromotocolConnection* connection();
62 62
63 // Send information to the client for initialization. 63 // Send information to the client for initialization.
64 virtual void SendInitClientMessage(int width, int height); 64 virtual void SendInitClientMessage(int width, int height);
65 65
66 // Send encoded update stream data to the viewer. 66 // Send encoded update stream data to the viewer.
67 virtual void SendUpdateStreamPacketMessage( 67 virtual void SendVideoPacket(const VideoPacket& packet);
68 const ChromotingHostMessage& message);
69 68
70 // Gets the number of update stream messages not yet transmitted. 69 // Gets the number of update stream messages not yet transmitted.
71 // Note that the value returned is an estimate using average size of the 70 // Note that the value returned is an estimate using average size of the
72 // most recent update streams. 71 // most recent update streams.
73 // TODO(hclam): Report this number accurately. 72 // TODO(hclam): Report this number accurately.
74 virtual int GetPendingUpdateStreamMessages(); 73 virtual int GetPendingUpdateStreamMessages();
75 74
76 // Disconnect the client connection. This method is allowed to be called 75 // Disconnect the client connection. This method is allowed to be called
77 // more than once and calls after the first one will be ignored. 76 // more than once and calls after the first one will be ignored.
78 // 77 //
(...skipping 30 matching lines...) Expand all
109 108
110 // Event handler for handling events sent from this object. 109 // Event handler for handling events sent from this object.
111 EventHandler* handler_; 110 EventHandler* handler_;
112 111
113 DISALLOW_COPY_AND_ASSIGN(ClientConnection); 112 DISALLOW_COPY_AND_ASSIGN(ClientConnection);
114 }; 113 };
115 114
116 } // namespace remoting 115 } // namespace remoting
117 116
118 #endif // REMOTING_HOST_CLIENT_CONNECTION_H_ 117 #endif // REMOTING_HOST_CLIENT_CONNECTION_H_
OLDNEW
« no previous file with comments | « remoting/host/capturer_mac.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698