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

Side by Side Diff: components/metrics/proto/chrome_user_metrics_extension.proto

Issue 2297423002: Change cast's UMA product type from CHROME to CAST. (Closed)
Patch Set: Change cast's UMA product type from CHROME to CAST. Created 4 years, 3 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
« no previous file with comments | « chromecast/browser/metrics/cast_metrics_service_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chromecast/browser/metrics/cast_metrics_service_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698