OLD | NEW |
---|---|
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 control messages. | 5 // Protocol for control 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 | 46 |
47 // Cursor pixmap data in 32-bit BGRA format. | 47 // Cursor pixmap data in 32-bit BGRA format. |
48 optional bytes data = 5; | 48 optional bytes data = 5; |
49 } | 49 } |
50 | 50 |
51 message Capabilities { | 51 message Capabilities { |
52 // List of capabilities supported by the sender (case sensitive, capabilities | 52 // List of capabilities supported by the sender (case sensitive, capabilities |
53 // are separated by spaces). | 53 // are separated by spaces). |
54 optional string capabilities = 1; | 54 optional string capabilities = 1; |
55 } | 55 } |
56 | |
57 message PairingRequest { | |
58 // Human-readable name of the client. | |
59 optional string client_name = 1; | |
60 } | |
61 | |
62 message PairingReply { | |
rmsousa
2013/05/09 03:55:02
nit: We typically use Request/Response for proto r
Jamie
2013/05/09 17:59:52
Done.
| |
63 // Unique identifier for this client. | |
64 optional string client_id = 1; | |
65 | |
66 // Shared secret for this client. | |
67 optional string shared_secret = 2; | |
68 } | |
OLD | NEW |