OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "auth.proto"; | 10 import "auth.proto"; |
11 import "control.proto"; | 11 import "control.proto"; |
12 import "event.proto"; | 12 import "event.proto"; |
13 | 13 |
14 option optimize_for = LITE_RUNTIME; | 14 option optimize_for = LITE_RUNTIME; |
15 | 15 |
16 package remoting.protocol; | 16 package remoting.protocol; |
17 | 17 |
18 // Represents a message being sent on the control channel. | 18 // Represents a message being sent on the control channel. |
19 message ControlMessage { | 19 message ControlMessage { |
20 optional SuggestResolutionRequest suggest_resolution = 1; | 20 optional SuggestResolutionRequest suggest_resolution = 1; |
21 optional NotifyResolutionRequest notify_resolution = 2; | 21 optional NotifyResolutionRequest notify_resolution = 2; |
22 optional BeginSessionRequest begin_session_request = 3; | 22 optional BeginSessionRequest begin_session_request = 3; |
23 optional BeginSessionResponse begin_session_response = 4; | 23 optional BeginSessionResponse begin_session_response = 4; |
24 } | 24 } |
25 | 25 |
26 // Defines an event message on the event channel. | 26 // Defines an event message on the event channel. |
27 message EventMessage { | 27 message EventMessage { |
28 required int32 timestamp = 1; // Client timestamp for event | 28 required int64 timestamp = 1; // Client timestamp for event |
Wez
2011/04/05 13:46:20
"timestamp" -> "sequence_number"
Alpha Left Google
2011/04/08 00:07:20
Done.
| |
29 optional bool dummy = 2; // Is this a dummy event? | 29 optional bool dummy = 2; // Is this a dummy event? |
30 | 30 |
31 optional KeyEvent key_event = 3; | 31 optional KeyEvent key_event = 3; |
32 optional MouseEvent mouse_event = 4; | 32 optional MouseEvent mouse_event = 4; |
33 } | 33 } |
OLD | NEW |