Chromium Code Reviews| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 optional string client_name = 1; | 59 optional string client_name = 1; |
| 60 } | 60 } |
| 61 | 61 |
| 62 message PairingResponse { | 62 message PairingResponse { |
| 63 // Unique identifier for this client. | 63 // Unique identifier for this client. |
| 64 optional string client_id = 1; | 64 optional string client_id = 1; |
| 65 | 65 |
| 66 // Shared secret for this client. | 66 // Shared secret for this client. |
| 67 optional string shared_secret = 2; | 67 optional string shared_secret = 2; |
| 68 } | 68 } |
| 69 | |
| 70 message JsonMessage { | |
| 71 // The message type. | |
|
Wez
2013/08/09 21:25:48
Explain what this is actually used for.
Jamie
2013/08/09 21:39:06
Done.
| |
| 72 optional string type = 1; | |
| 73 // JSON-encoded message. | |
| 74 optional string json = 2; | |
| 75 } | |
| OLD | NEW |