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

Side by Side Diff: chrome/common/metrics/proto/system_profile.proto

Issue 9232071: Upload UMA data using protocol buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 10 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
OLDNEW
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 // Stores information about the user's brower and system configuration. 5 // Stores information about the user's brower and system configuration.
6 // The system configuration fields are recorded once per client session. 6 // The system configuration fields are recorded once per client session.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
11 11
12 package metrics; 12 package metrics;
13 13
14 // Next tag: 9 14 // Next tag: 10
15 message SystemProfileProto { 15 message SystemProfileProto {
16 // The time when the client was compiled/linked, in seconds since the epoch. 16 // The time when the client was compiled/linked, in seconds since the epoch.
17 optional int64 build_timestamp = 1; 17 optional int64 build_timestamp = 1;
18 18
19 // A version number string for the application. 19 // A version number string for the application.
20 // Most commonly this is the browser version number found in a user agent 20 // Most commonly this is the browser version number found in a user agent
21 // string, and is typically a 4-tuple of numbers separated by periods. In 21 // string, and is typically a 4-tuple of numbers separated by periods. In
22 // cases where the user agent version might be ambiguous (example: Linux 64- 22 // cases where the user agent version might be ambiguous (example: Linux 64-
23 // bit build, rather than 32-bit build, or a Windows version used in some 23 // bit build, rather than 32-bit build, or a Windows version used in some
24 // special context, such as ChromeFrame running in IE), then this may include 24 // special context, such as ChromeFrame running in IE), then this may include
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // increase this count multiple times.) 219 // increase this count multiple times.)
220 optional int32 instance_count = 3; 220 optional int32 instance_count = 3;
221 221
222 // The number of times this plugin process crashed. 222 // The number of times this plugin process crashed.
223 // This value will be <= |launch_count|. 223 // This value will be <= |launch_count|.
224 optional int32 crash_count = 4; 224 optional int32 crash_count = 4;
225 } 225 }
226 repeated PluginStability plugin_stability = 22; 226 repeated PluginStability plugin_stability = 22;
227 } 227 }
228 optional Stability stability = 8; 228 optional Stability stability = 8;
229
230 // Description of a field trial or experiment that the user is currently
231 // enrolled in.
232 // All metrics reported in this upload can potentially be influenced by the
233 // field trial.
234 message FieldTrial {
235 // The name of the field trial, as a 32-bit identifier.
236 // Currently, the identifier is a hash of the field trial's name.
237 optional fixed32 name_id = 1;
238
239 // The user's group within the field trial, as a 32-bit identifier.
240 // Currently, the identifier is a hash of the group's name.
241 optional fixed32 group_id = 2;
242 }
243 repeated FieldTrial field_trial = 9;
229 } 244 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698