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 // Cast-enabled device specific log data included in ChromeUserMetricsExtension. | 5 // Cast-enabled device specific log data included in ChromeUserMetricsExtension. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
11 package metrics; | 11 package metrics; |
12 | 12 |
13 // Next tag: 4 | 13 // Next tag: 4 |
14 message CastLogsProto { | 14 message CastLogsProto { |
15 // Cast specific device information. | 15 // Cast specific device information. |
16 // Next tag: 4 | 16 // Next tag: 4 |
17 message CastDeviceInfo { | 17 message CastDeviceInfo { |
18 // The product type of Cast device sent from Cast-enabled devices. | 18 // The product type of Cast device sent from Cast-enabled devices. |
19 // Next tag: 5 | 19 // Next tag: 5 |
20 enum CastProductType { | 20 enum CastProductType { |
21 CAST_PRODUCT_TYPE_UNKNOWN = 0; | 21 CAST_PRODUCT_TYPE_UNKNOWN = 0; |
22 CAST_PRODUCT_TYPE_CHROMECAST = 1; | 22 CAST_PRODUCT_TYPE_CHROMECAST = 1; |
| 23 CAST_PRODUCT_TYPE_AUDIO = 3; |
23 CAST_PRODUCT_TYPE_ANDROID_TV = 4; | 24 CAST_PRODUCT_TYPE_ANDROID_TV = 4; |
24 } | 25 } |
25 optional CastProductType type = 1; | 26 optional CastProductType type = 1; |
26 | 27 |
27 // The hardware revision of each product. | 28 // The hardware revision of each product. |
28 optional string hardware_revision = 2; | 29 optional string hardware_revision = 2; |
29 | 30 |
30 // The manufacturer of Cast device, this value is empty when the device | 31 // The manufacturer of Cast device, this value is empty when the device |
31 // is manufactured by Google. | 32 // is manufactured by Google. |
32 optional string manufacturer = 3; | 33 optional string manufacturer = 3; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 optional fixed32 transport_connection_id = 6; | 132 optional fixed32 transport_connection_id = 6; |
132 | 133 |
133 // virtual_connection_id related with this event. | 134 // virtual_connection_id related with this event. |
134 optional fixed32 virtual_connection_id = 7; | 135 optional fixed32 virtual_connection_id = 7; |
135 | 136 |
136 // An optional value for the associated event | 137 // An optional value for the associated event |
137 optional int64 value = 8; | 138 optional int64 value = 8; |
138 } | 139 } |
139 repeated CastEventProto cast_event = 3; | 140 repeated CastEventProto cast_event = 3; |
140 } | 141 } |
OLD | NEW |