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

Side by Side Diff: remoting/client/chromoting_client.h

Issue 6792038: Chromoting to report roundtrip latency (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done Created 9 years, 8 months 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/base/encoder_vp8.cc ('k') | remoting/client/chromoting_client.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 // ChromotingClient is the controller for the Client implementation. 5 // ChromotingClient is the controller for the Client implementation.
6 6
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Used to serialize sending of messages to the client. 129 // Used to serialize sending of messages to the client.
130 std::list<QueuedVideoPacket> received_packets_; 130 std::list<QueuedVideoPacket> received_packets_;
131 131
132 // True if a message is being processed. Can be used to determine if it is 132 // True if a message is being processed. Can be used to determine if it is
133 // safe to dispatch another message. 133 // safe to dispatch another message.
134 bool packet_being_processed_; 134 bool packet_being_processed_;
135 135
136 // Record the statistics of the connection. 136 // Record the statistics of the connection.
137 ChromotingStats stats_; 137 ChromotingStats stats_;
138 138
139 // Keep track of the last sequence number bounced back from the host.
140 int64 last_sequence_number_;
141
139 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 142 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
140 }; 143 };
141 144
142 } // namespace remoting 145 } // namespace remoting
143 146
144 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::ChromotingClient); 147 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::ChromotingClient);
145 148
146 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 149 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « remoting/base/encoder_vp8.cc ('k') | remoting/client/chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698