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

Unified Diff: remoting/base/capture_data.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/encoder_row_based.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/capture_data.h
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h
index 43909dbc9dc89a586dacdb8d353dfee22a103da0..b8592fad59898e8d85fe4fcd244c8f1761f0b9d7 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -54,6 +54,12 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
capture_time_ms_ = capture_time_ms;
}
+ int64 client_sequence_number() const { return client_sequence_number_; }
+
+ void set_client_sequence_number(int64 client_sequence_number) {
+ client_sequence_number_ = client_sequence_number;
+ }
+
private:
const DataPlanes data_planes_;
InvalidRects dirty_rects_;
@@ -63,6 +69,9 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
// Time spent in capture. Unit is in milliseconds.
int capture_time_ms_;
+ // Sequence number supplied by client for performance tracking.
+ int64 client_sequence_number_;
+
friend class base::RefCountedThreadSafe<CaptureData>;
virtual ~CaptureData();
};
« no previous file with comments | « no previous file | remoting/base/encoder_row_based.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698