summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2014-10-14 16:08:55 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-14 23:10:15 +0000
commitacec86f50047d33fa4e3429ba61f56546a332cc7 (patch)
treea40e44965a8210849ac84eb37f484583fe9a4543 /remoting/proto
parent2cdf37cc0dd9dc4b517158bfc81fb0d53bf6b9ca (diff)
downloadchromium_src-acec86f50047d33fa4e3429ba61f56546a332cc7.zip
chromium_src-acec86f50047d33fa4e3429ba61f56546a332cc7.tar.gz
chromium_src-acec86f50047d33fa4e3429ba61f56546a332cc7.tar.bz2
Use int64 more pervasively in storing time s/ms/us values.
The various To/From[Milli,Micro]Seconds() functions all use int64. Convert some other intermediary types to int64 to avoid type conversions along the way. BUG=81439 TEST=none Review URL: https://codereview.chromium.org/641263002 Cr-Commit-Position: refs/heads/master@{#299578}
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/video.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 55ac813..cf8cb67 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -50,10 +50,10 @@ message VideoPacket {
repeated Rect dirty_rects = 6;
// Time in milliseconds spent in capturing this video frame.
- optional int32 capture_time_ms = 7;
+ optional int64 capture_time_ms = 7;
// Time in milliseconds spent in encoding this video frame.
- optional int32 encode_time_ms = 8;
+ optional int64 encode_time_ms = 8;
// The most recent sequence number received from the client on the event
// channel.