| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // Definitions for tether API calls. | 5 // Definitions for tether API calls. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 package chromeos.tether; | 9 package chromeos.tether; |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 // Next id: 1 | 79 // Next id: 1 |
| 80 message ConnectTetheringRequest {} | 80 message ConnectTetheringRequest {} |
| 81 | 81 |
| 82 // Next id: 5 | 82 // Next id: 5 |
| 83 message ConnectTetheringResponse { | 83 message ConnectTetheringResponse { |
| 84 enum ResponseCode { | 84 enum ResponseCode { |
| 85 UNKNOWN_ERROR = 0; | 85 UNKNOWN_ERROR = 0; |
| 86 SUCCESS = 1; | 86 SUCCESS = 1; |
| 87 PROVISIONING_FAILED = 2; | 87 PROVISIONING_FAILED = 2; |
| 88 TETHERING_TIMEOUT = 3; |
| 88 } | 89 } |
| 89 | 90 |
| 90 optional ResponseCode response_code = 1; | 91 optional ResponseCode response_code = 1; |
| 91 | 92 |
| 92 // SSID for the new hotspot. | 93 // SSID for the new hotspot. |
| 93 optional string ssid = 2; | 94 optional string ssid = 2; |
| 94 | 95 |
| 95 // Password for the new hotspot. | 96 // Password for the new hotspot. |
| 96 optional string password = 3; | 97 optional string password = 3; |
| 97 | 98 |
| 98 optional DeviceStatus device_status = 4; | 99 optional DeviceStatus device_status = 4; |
| 99 } | 100 } |
| 100 | 101 |
| 101 // Next id: 1 | 102 // Next id: 1 |
| 102 message KeepAliveTickle {} | 103 message KeepAliveTickle {} |
| 103 | 104 |
| 104 // Next id: 1 | 105 // Next id: 1 |
| 105 message DisconnectTetheringRequest {} | 106 message DisconnectTetheringRequest {} |
| OLD | NEW |