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

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

Issue 226273004: Add new SampledProfile protobuf definition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed commenting nits Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/proto/sampled_profile.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 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 "sampled_profile.proto";
19 20
20 // Next tag: 11 21 // Next tag: 12
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.
29 optional Product product = 10 [default = CHROME]; 30 optional Product product = 10 [default = CHROME];
30 31
(...skipping 16 matching lines...) Expand all
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): Deprecate this field and use |sampled_profile| instead.
57 repeated PerfDataProto perf_data = 8; 59 repeated PerfDataProto perf_data = 8;
60
61 // A list of all collected sample-based profiles since the last UMA upload.
62 repeated SampledProfile sampled_profile = 11;
58 } 63 }
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/proto/sampled_profile.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698