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

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

Issue 2394643002: Add TranslateEventProto to UMA metrics (Closed)
Patch Set: Fix name error in enum. Created 4 years, 2 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 | « components/metrics/proto/BUILD.gn ('k') | components/metrics/proto/translate_event.proto » ('j') | 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";
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 import "cast_logs.proto"; 15 import "cast_logs.proto";
16 import "histogram_event.proto"; 16 import "histogram_event.proto";
17 import "memory_leak_report.proto"; 17 import "memory_leak_report.proto";
18 import "omnibox_event.proto"; 18 import "omnibox_event.proto";
19 import "profiler_event.proto"; 19 import "profiler_event.proto";
20 import "system_profile.proto"; 20 import "system_profile.proto";
21 import "translate_event.proto";
21 import "user_action_event.proto"; 22 import "user_action_event.proto";
22 import "perf_data.proto"; 23 import "perf_data.proto";
23 import "sampled_profile.proto"; 24 import "sampled_profile.proto";
24 25
Roger McFarlane (Chromium) 2016/10/07 14:13:44 This doesn't match the proto on the server side.
25 // Next tag: 13 26 // Next tag: 15
26 message ChromeUserMetricsExtension { 27 message ChromeUserMetricsExtension {
27 // The product (i.e. end user application) for a given UMA log. 28 // The product (i.e. end user application) for a given UMA log.
28 enum Product { 29 enum Product {
29 // Google Chrome product family. 30 // Google Chrome product family.
30 CHROME = 0; 31 CHROME = 0;
31 32
32 // UMA metrics from Android Webview. 33 // UMA metrics from Android Webview.
33 ANDROID_WEBVIEW = 20; 34 ANDROID_WEBVIEW = 20;
34 35
35 // Cast receivers, e.g. Chromecast 36 // Cast receivers, e.g. Chromecast
(...skipping 25 matching lines...) Expand all
61 optional int32 session_id = 2; 62 optional int32 session_id = 2;
62 63
63 // Information about the user's browser and system configuration. 64 // Information about the user's browser and system configuration.
64 optional SystemProfileProto system_profile = 3; 65 optional SystemProfileProto system_profile = 3;
65 66
66 // This message will log one or more of the following event types: 67 // This message will log one or more of the following event types:
67 repeated UserActionEventProto user_action_event = 4; 68 repeated UserActionEventProto user_action_event = 4;
68 repeated OmniboxEventProto omnibox_event = 5; 69 repeated OmniboxEventProto omnibox_event = 5;
69 repeated HistogramEventProto histogram_event = 6; 70 repeated HistogramEventProto histogram_event = 6;
70 repeated ProfilerEventProto profiler_event = 7; 71 repeated ProfilerEventProto profiler_event = 7;
72 repeated TranslateEventProto translate_event = 14;
Roger McFarlane (Chromium) 2016/10/07 14:13:44 This doesn't match the proto on the server side.
71 73
72 // This field is no longer used. Use |sampled_profile| instead. 74 // This field is no longer used. Use |sampled_profile| instead.
73 repeated PerfDataProto perf_data = 8 [deprecated=true]; 75 repeated PerfDataProto perf_data = 8 [deprecated=true];
74 76
75 // A list of all collected sample-based profiles since the last UMA upload. 77 // A list of all collected sample-based profiles since the last UMA upload.
76 repeated SampledProfile sampled_profile = 11; 78 repeated SampledProfile sampled_profile = 11;
77 79
78 // Additional data related with Cast-enabled devices. 80 // Additional data related with Cast-enabled devices.
79 optional CastLogsProto cast_logs = 12; 81 optional CastLogsProto cast_logs = 12;
80 82
81 // Memory leak reports generated since the last UMA upload. 83 // Memory leak reports generated since the last UMA upload.
82 repeated MemoryLeakReportProto memory_leak_report = 13; 84 repeated MemoryLeakReportProto memory_leak_report = 13;
83 } 85 }
OLDNEW
« no previous file with comments | « components/metrics/proto/BUILD.gn ('k') | components/metrics/proto/translate_event.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698