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

Unified Diff: remoting/base/capture_data.h

Issue 10736046: Add DPI information to video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/capture_data.cc » ('j') | remoting/proto/video.proto » ('J')
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 cea18ac4c2ca52c3f498efea1ff25fc384b71d58..205d3f3307d92eec54e1dd8865cae5b96e66e002 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -59,6 +59,10 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
client_sequence_number_ = client_sequence_number;
}
+ int32 dpi() const { return dpi_; }
+
+ void set_dpi(int32 dpi) { dpi_ = dpi; }
+
private:
friend class base::RefCountedThreadSafe<CaptureData>;
virtual ~CaptureData();
@@ -73,6 +77,9 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
// Sequence number supplied by client for performance tracking.
int64 client_sequence_number_;
+
+ // DPI for this frame.
+ int32 dpi_;
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/base/capture_data.cc » ('j') | remoting/proto/video.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698