Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: chromeos/components/tether/proto/tether.proto

Issue 2700873002: [CrOS Tether] Create MessageWrapper, a wrapper class for proto messages sent for tethering. This cl… (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 tether; 9 package chromeos.tether;
10 10
11 option optimize_for = LITE_RUNTIME; 11 option optimize_for = LITE_RUNTIME;
12 12
13 // Types of messages which are sent between tether hosts and tether clients. 13 // Types of messages which are sent between tether hosts and tether clients.
14 enum MessageType { 14 enum MessageType {
15 UNKNOWN_TYPE = 0; 15 UNKNOWN_TYPE = 0;
16 TETHER_AVAILABILITY_REQUEST = 1; 16 TETHER_AVAILABILITY_REQUEST = 1;
17 TETHER_AVAILABILITY_RESPONSE = 2; 17 TETHER_AVAILABILITY_RESPONSE = 2;
18 CONNECT_TETHERING_REQUEST = 3; 18 CONNECT_TETHERING_REQUEST = 3;
19 CONNECT_TETHERING_RESPONSE = 4; 19 CONNECT_TETHERING_RESPONSE = 4;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 optional string password = 3; 96 optional string password = 3;
97 97
98 optional DeviceStatus device_status = 4; 98 optional DeviceStatus device_status = 4;
99 } 99 }
100 100
101 // Next id: 1 101 // Next id: 1
102 message KeepAliveTickle {} 102 message KeepAliveTickle {}
103 103
104 // Next id: 1 104 // Next id: 1
105 message DisconnectTetheringRequest {} 105 message DisconnectTetheringRequest {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698