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

Side by Side Diff: remoting/proto/video.proto

Issue 836183002: Rename sequence_number to timestamp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Protocol for video messages. 5 // Protocol for video messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // List of rectangles updated by this frame. 49 // List of rectangles updated by this frame.
50 repeated Rect dirty_rects = 6; 50 repeated Rect dirty_rects = 6;
51 51
52 // Time in milliseconds spent in capturing this video frame. 52 // Time in milliseconds spent in capturing this video frame.
53 optional int64 capture_time_ms = 7; 53 optional int64 capture_time_ms = 7;
54 54
55 // Time in milliseconds spent in encoding this video frame. 55 // Time in milliseconds spent in encoding this video frame.
56 optional int64 encode_time_ms = 8; 56 optional int64 encode_time_ms = 8;
57 57
58 // The most recent sequence number received from the client on the event 58 // The timestamp of the latest event received from the client.
Wez 2015/01/07 23:56:19 nit: Clarify that this isn't a client-based timest
Sergey Ulanov 2015/01/08 17:40:26 Done.
59 // channel. 59 optional int64 last_event_timestamp = 9;
60 optional int64 client_sequence_number = 9;
61 60
62 repeated Rect desktop_shape_rects = 10; 61 repeated Rect desktop_shape_rects = 10;
63 62
64 // True when |desktop_shape_rects| should be used. 63 // True when |desktop_shape_rects| should be used.
65 optional bool use_desktop_shape = 11; 64 optional bool use_desktop_shape = 11;
66 65
67 // Optional frame timestamp. Used in tests to estimate frame latency. 66 // Optional frame timestamp. Used in tests to estimate frame latency.
68 optional int64 timestamp = 12; 67 optional int64 timestamp = 12;
69 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698