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 // Protocol buffer for Chrome UMA (User Metrics Analysis). | 5 // Protocol buffer for Chrome UMA (User Metrics Analysis). |
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 = "ChromeUserMetricsExtensionProtos"; | 10 option java_outer_classname = "ChromeUserMetricsExtensionProtos"; |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 // Next tag: 13 | 25 // Next tag: 13 |
26 message ChromeUserMetricsExtension { | 26 message ChromeUserMetricsExtension { |
27 // The product (i.e. end user application) for a given UMA log. | 27 // The product (i.e. end user application) for a given UMA log. |
28 enum Product { | 28 enum Product { |
29 // Google Chrome product family. | 29 // Google Chrome product family. |
30 CHROME = 0; | 30 CHROME = 0; |
31 | 31 |
32 // UMA metrics from Android Webview. | 32 // UMA metrics from Android Webview. |
33 ANDROID_WEBVIEW = 20; | 33 ANDROID_WEBVIEW = 20; |
| 34 |
| 35 // Cast receivers, e.g. Chromecast |
| 36 CAST = 35; |
34 } | 37 } |
35 // The product corresponding to this log. The field type is int32 instead of | 38 // The product corresponding to this log. The field type is int32 instead of |
36 // Product so that downstream users of the Chromium metrics component can | 39 // Product so that downstream users of the Chromium metrics component can |
37 // introduce products without needing to make changes to the Chromium code | 40 // introduce products without needing to make changes to the Chromium code |
38 // (though they still need to add the new product to the server-side enum). | 41 // (though they still need to add the new product to the server-side enum). |
39 // Note: The default value is Chrome, so Chrome products will not transmit | 42 // Note: The default value is Chrome, so Chrome products will not transmit |
40 // this field. | 43 // this field. |
41 optional int32 product = 10 [default = 0]; | 44 optional int32 product = 10 [default = 0]; |
42 | 45 |
43 // The id of the client install that generated these events. | 46 // The id of the client install that generated these events. |
(...skipping 27 matching lines...) Expand all Loading... |
71 | 74 |
72 // A list of all collected sample-based profiles since the last UMA upload. | 75 // A list of all collected sample-based profiles since the last UMA upload. |
73 repeated SampledProfile sampled_profile = 11; | 76 repeated SampledProfile sampled_profile = 11; |
74 | 77 |
75 // Additional data related with Cast-enabled devices. | 78 // Additional data related with Cast-enabled devices. |
76 optional CastLogsProto cast_logs = 12; | 79 optional CastLogsProto cast_logs = 12; |
77 | 80 |
78 // Memory leak reports generated since the last UMA upload. | 81 // Memory leak reports generated since the last UMA upload. |
79 repeated MemoryLeakReportProto memory_leak_report = 13; | 82 repeated MemoryLeakReportProto memory_leak_report = 13; |
80 } | 83 } |
OLD | NEW |