| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package extensions.core_api.cast_channel; | 9 package extensions.api.cast_channel; |
| 10 | 10 |
| 11 message CastMessage { | 11 message CastMessage { |
| 12 // Always pass a version of the protocol for future compatibility | 12 // Always pass a version of the protocol for future compatibility |
| 13 // requirements. | 13 // requirements. |
| 14 enum ProtocolVersion { | 14 enum ProtocolVersion { |
| 15 CASTV2_1_0 = 0; | 15 CASTV2_1_0 = 0; |
| 16 } | 16 } |
| 17 required ProtocolVersion protocol_version = 1; | 17 required ProtocolVersion protocol_version = 1; |
| 18 | 18 |
| 19 // source and destination ids identify the origin and destination of the | 19 // source and destination ids identify the origin and destination of the |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 required ErrorType error_type = 1; | 82 required ErrorType error_type = 1; |
| 83 } | 83 } |
| 84 | 84 |
| 85 message DeviceAuthMessage { | 85 message DeviceAuthMessage { |
| 86 // Request fields | 86 // Request fields |
| 87 optional AuthChallenge challenge = 1; | 87 optional AuthChallenge challenge = 1; |
| 88 // Response fields | 88 // Response fields |
| 89 optional AuthResponse response = 2; | 89 optional AuthResponse response = 2; |
| 90 optional AuthError error = 3; | 90 optional AuthError error = 3; |
| 91 } | 91 } |
| OLD | NEW |