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 option java_outer_classname = "CastLogsProtos"; | 10 option java_outer_classname = "CastLogsProtos"; |
11 option java_package = "org.chromium.components.metrics"; | 11 option java_package = "org.chromium.components.metrics"; |
12 | 12 |
13 package metrics; | 13 package metrics; |
14 | 14 |
15 // Next tag: 7 | 15 // Next tag: 7 |
16 message CastLogsProto { | 16 message CastLogsProto { |
17 // Cast specific device information. | 17 // Cast specific device information. |
18 // Next tag: 6 | 18 // Next tag: 6 |
19 message CastDeviceInfo { | 19 message CastDeviceInfo { |
20 // The product type of Cast device sent from Cast-enabled devices. | 20 // The product type of Cast device sent from Cast-enabled devices. |
21 // Next tag: 5 | 21 // Next tag: 5 |
22 enum CastProductType { | 22 enum CastProductType { |
23 CAST_PRODUCT_TYPE_UNKNOWN = 0; | 23 CAST_PRODUCT_TYPE_UNKNOWN = 0; |
24 CAST_PRODUCT_TYPE_CHROMECAST = 1; | 24 CAST_PRODUCT_TYPE_CHROMECAST = 1; |
25 CAST_PRODUCT_TYPE_TV = 2; | 25 CAST_PRODUCT_TYPE_TV = 2; |
26 CAST_PRODUCT_TYPE_AUDIO = 3; | 26 CAST_PRODUCT_TYPE_AUDIO = 3; |
27 CAST_PRODUCT_TYPE_ANDROID_TV = 4; | 27 CAST_PRODUCT_TYPE_ANDROID_TV = 4; |
| 28 CAST_PRODUCT_TYPE_ASSISTANT = 5; |
28 } | 29 } |
29 optional CastProductType type = 1; | 30 optional CastProductType type = 1; |
30 | 31 |
31 // The hardware revision of each product. | 32 // The hardware revision of each product. |
32 optional string hardware_revision = 2; | 33 optional string hardware_revision = 2; |
33 | 34 |
34 // The manufacturer of Cast device, this value is empty when the device | 35 // The manufacturer of Cast device, this value is empty when the device |
35 // is manufactured by Google. | 36 // is manufactured by Google. |
36 optional string manufacturer = 3; | 37 optional string manufacturer = 3; |
37 | 38 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 } | 198 } |
198 optional CastDeviceMutableInfo cast_device_mutable_info = 5; | 199 optional CastDeviceMutableInfo cast_device_mutable_info = 5; |
199 | 200 |
200 // Unique identifier that is randomly generated on first setup, on re-setup | 201 // Unique identifier that is randomly generated on first setup, on re-setup |
201 // (FDR), and when user opted-in from opted-out status. If user is opted-out | 202 // (FDR), and when user opted-in from opted-out status. If user is opted-out |
202 // then this field should not be set. | 203 // then this field should not be set. |
203 // This is used for joining logs from Cast sender SDK to evaluate Cast | 204 // This is used for joining logs from Cast sender SDK to evaluate Cast |
204 // sender/receiver communication quality. | 205 // sender/receiver communication quality. |
205 optional fixed64 receiver_metrics_id = 6; | 206 optional fixed64 receiver_metrics_id = 6; |
206 } | 207 } |
OLD | NEW |