OLD | NEW |
---|---|
1 // Copyright (c) 2011 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"; | |
11 import "control.proto"; | 10 import "control.proto"; |
12 import "event.proto"; | 11 import "event.proto"; |
13 | 12 |
14 option optimize_for = LITE_RUNTIME; | 13 option optimize_for = LITE_RUNTIME; |
15 | 14 |
16 package remoting.protocol; | 15 package remoting.protocol; |
17 | 16 |
18 // Represents a message being sent on the control channel. | 17 // Represents a message being sent on the control channel. |
19 message ControlMessage { | 18 message ControlMessage { |
20 optional BeginSessionRequest begin_session_request = 3; | 19 // Currently we don't use control channel for anything. Add new |
21 optional BeginSessionResponse begin_session_response = 4; | 20 // messages here when necessary. |
Wez
2011/11/03 00:25:02
Best to mention in the CL description that this pr
Sergey Ulanov
2011/11/03 01:21:12
Done. Also see the last version of this CL: I adde
| |
22 } | 21 } |
23 | 22 |
24 // Defines an event message on the event channel. | 23 // Defines an event message on the event channel. |
25 message EventMessage { | 24 message EventMessage { |
26 required int64 sequence_number = 1; // Client timestamp for event | 25 required int64 sequence_number = 1; // Client timestamp for event |
27 optional bool dummy = 2; // Is this a dummy event? | 26 optional bool dummy = 2; // Is this a dummy event? |
28 | 27 |
29 optional KeyEvent key_event = 3; | 28 optional KeyEvent key_event = 3; |
30 optional MouseEvent mouse_event = 4; | 29 optional MouseEvent mouse_event = 4; |
31 } | 30 } |
OLD | NEW |