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

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

Issue 12036047: Add Brand Code to UMA Uploads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vertical spacing. Created 7 years, 11 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 | « chrome/browser/metrics/metrics_log.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 (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: 12 14 // Next tag: 13
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
25 // some additional postfix to provide clarification not available in the UA 25 // some additional postfix to provide clarification not available in the UA
26 // string. 26 // string.
27 // 27 //
28 // An example of a browser version 4-tuple is "5.0.322.0". Currently used 28 // An example of a browser version 4-tuple is "5.0.322.0". Currently used
29 // postfixes are: 29 // postfixes are:
30 // 30 //
31 // "-64": a 64-bit build 31 // "-64": a 64-bit build
32 // "-F": Chrome is running under control of ChromeFrame 32 // "-F": Chrome is running under control of ChromeFrame
33 // "-devel": this is not an official build of Chrome 33 // "-devel": this is not an official build of Chrome
34 // 34 //
35 // A full version number string could look similar to: 35 // A full version number string could look similar to:
36 // "5.0.322.0-F-devel". 36 // "5.0.322.0-F-devel".
37 // 37 //
38 // This value, when available, is more trustworthy than the UA string 38 // This value, when available, is more trustworthy than the UA string
39 // associated with the request; and including the postfix, may be more 39 // associated with the request; and including the postfix, may be more
40 // specific. 40 // specific.
41 optional string app_version = 2; 41 optional string app_version = 2;
42 42
43 // The brand code or distribution tag assigned to a partner, if available.
Ilya Sherman 2013/01/23 22:04:54 nit: Please mention that these are only available
Mark P 2013/01/23 23:23:20 Done.
44 optional string brand_code = 12;
45
43 // The possible channels for an installation, from least to most stable. 46 // The possible channels for an installation, from least to most stable.
44 enum Channel { 47 enum Channel {
45 CHANNEL_UNKNOWN = 0; // Unknown channel -- perhaps an unofficial build? 48 CHANNEL_UNKNOWN = 0; // Unknown channel -- perhaps an unofficial build?
46 CHANNEL_CANARY = 1; 49 CHANNEL_CANARY = 1;
47 CHANNEL_DEV = 2; 50 CHANNEL_DEV = 2;
48 CHANNEL_BETA = 3; 51 CHANNEL_BETA = 3;
49 CHANNEL_STABLE = 4; 52 CHANNEL_STABLE = 4;
50 } 53 }
51 optional Channel channel = 10; 54 optional Channel channel = 10;
52 55
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // The name of the field trial, as a 32-bit identifier. 321 // The name of the field trial, as a 32-bit identifier.
319 // Currently, the identifier is a hash of the field trial's name. 322 // Currently, the identifier is a hash of the field trial's name.
320 optional fixed32 name_id = 1; 323 optional fixed32 name_id = 1;
321 324
322 // The user's group within the field trial, as a 32-bit identifier. 325 // The user's group within the field trial, as a 32-bit identifier.
323 // Currently, the identifier is a hash of the group's name. 326 // Currently, the identifier is a hash of the group's name.
324 optional fixed32 group_id = 2; 327 optional fixed32 group_id = 2;
325 } 328 }
326 repeated FieldTrial field_trial = 9; 329 repeated FieldTrial field_trial = 9;
327 } 330 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698