OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 10 |
11 package metrics; | 11 package metrics; |
12 | 12 |
13 import "histogram_event.proto"; | 13 import "histogram_event.proto"; |
14 import "omnibox_event.proto"; | 14 import "omnibox_event.proto"; |
15 import "profiler_event.proto"; | 15 import "profiler_event.proto"; |
16 import "system_profile.proto"; | 16 import "system_profile.proto"; |
17 import "user_action_event.proto"; | 17 import "user_action_event.proto"; |
18 import "perf_data.proto"; | 18 import "perf_data.proto"; |
19 import "profile_collection.proto"; | |
19 | 20 |
20 // Next tag: 11 | 21 // Next tag: 11 |
21 message ChromeUserMetricsExtension { | 22 message ChromeUserMetricsExtension { |
22 // The product (i.e. end user application) for a given UMA log. | 23 // The product (i.e. end user application) for a given UMA log. |
23 enum Product { | 24 enum Product { |
24 // Google Chrome product family. | 25 // Google Chrome product family. |
25 CHROME = 0; | 26 CHROME = 0; |
26 } | 27 } |
27 // The product corresponding to this log. Note: The default value is Chrome, | 28 // The product corresponding to this log. Note: The default value is Chrome, |
28 // so Chrome products will not transmit this field. | 29 // so Chrome products will not transmit this field. |
(...skipping 18 matching lines...) Expand all Loading... | |
47 | 48 |
48 // Information about the user's browser and system configuration. | 49 // Information about the user's browser and system configuration. |
49 optional SystemProfileProto system_profile = 3; | 50 optional SystemProfileProto system_profile = 3; |
50 | 51 |
51 // This message will log one or more of the following event types: | 52 // This message will log one or more of the following event types: |
52 repeated UserActionEventProto user_action_event = 4; | 53 repeated UserActionEventProto user_action_event = 4; |
53 repeated OmniboxEventProto omnibox_event = 5; | 54 repeated OmniboxEventProto omnibox_event = 5; |
54 repeated HistogramEventProto histogram_event = 6; | 55 repeated HistogramEventProto histogram_event = 6; |
55 repeated ProfilerEventProto profiler_event = 7; | 56 repeated ProfilerEventProto profiler_event = 7; |
56 | 57 |
58 // TODO(sque): Remove this field and use |collected_profiles| instead. | |
tipp
2014/04/08 21:19:41
stale comment s/collected_profiles/profile/
Simon Que
2014/04/08 22:57:44
Done.
| |
57 repeated PerfDataProto perf_data = 8; | 59 repeated PerfDataProto perf_data = 8; |
60 | |
61 // A list of all collected profiles since the last UMA upload. | |
62 repeated ProfileCollection profiles = 9; | |
tipp
2014/04/08 21:19:41
s/profiles/profile/
Simon Que
2014/04/08 22:57:44
Done.
| |
58 } | 63 } |
OLD | NEW |