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

Side by Side Diff: remoting/proto/internal.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
« no previous file with comments | « remoting/host/video_scheduler.cc ('k') | remoting/proto/video.proto » ('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) 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 // Internal message types that should not be seen outside the protocol 5 // Internal message types that should not be seen outside the protocol
6 // directory. 6 // directory.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 import "control.proto"; 10 import "control.proto";
(...skipping 11 matching lines...) Expand all
22 optional VideoControl video_control = 3; 22 optional VideoControl video_control = 3;
23 optional AudioControl audio_control = 5; 23 optional AudioControl audio_control = 5;
24 optional Capabilities capabilities = 6; 24 optional Capabilities capabilities = 6;
25 optional PairingRequest pairing_request = 7; 25 optional PairingRequest pairing_request = 7;
26 optional PairingResponse pairing_response = 8; 26 optional PairingResponse pairing_response = 8;
27 optional ExtensionMessage extension_message = 9; 27 optional ExtensionMessage extension_message = 9;
28 } 28 }
29 29
30 // Defines an event message on the event channel. 30 // Defines an event message on the event channel.
31 message EventMessage { 31 message EventMessage {
32 optional int64 sequence_number = 1; // Client timestamp for event. 32 // Client's timestamp used to estimate roundtrip latency.
33 optional int64 timestamp = 1;
33 34
34 optional KeyEvent key_event = 3; 35 optional KeyEvent key_event = 3;
35 optional MouseEvent mouse_event = 4; 36 optional MouseEvent mouse_event = 4;
36 optional TextEvent text_event = 5; 37 optional TextEvent text_event = 5;
37 } 38 }
OLDNEW
« no previous file with comments | « remoting/host/video_scheduler.cc ('k') | remoting/proto/video.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698