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 // 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; |
(...skipping 22 matching lines...) Expand all Loading... |
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. |
| 44 // Brand codes are only available on Windows. Not every Windows install |
| 45 // though will have a brand code. |
| 46 optional string brand_code = 12; |
| 47 |
43 // The possible channels for an installation, from least to most stable. | 48 // The possible channels for an installation, from least to most stable. |
44 enum Channel { | 49 enum Channel { |
45 CHANNEL_UNKNOWN = 0; // Unknown channel -- perhaps an unofficial build? | 50 CHANNEL_UNKNOWN = 0; // Unknown channel -- perhaps an unofficial build? |
46 CHANNEL_CANARY = 1; | 51 CHANNEL_CANARY = 1; |
47 CHANNEL_DEV = 2; | 52 CHANNEL_DEV = 2; |
48 CHANNEL_BETA = 3; | 53 CHANNEL_BETA = 3; |
49 CHANNEL_STABLE = 4; | 54 CHANNEL_STABLE = 4; |
50 } | 55 } |
51 optional Channel channel = 10; | 56 optional Channel channel = 10; |
52 | 57 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 // The name of the field trial, as a 32-bit identifier. | 341 // The name of the field trial, as a 32-bit identifier. |
337 // Currently, the identifier is a hash of the field trial's name. | 342 // Currently, the identifier is a hash of the field trial's name. |
338 optional fixed32 name_id = 1; | 343 optional fixed32 name_id = 1; |
339 | 344 |
340 // The user's group within the field trial, as a 32-bit identifier. | 345 // The user's group within the field trial, as a 32-bit identifier. |
341 // Currently, the identifier is a hash of the group's name. | 346 // Currently, the identifier is a hash of the group's name. |
342 optional fixed32 group_id = 2; | 347 optional fixed32 group_id = 2; |
343 } | 348 } |
344 repeated FieldTrial field_trial = 9; | 349 repeated FieldTrial field_trial = 9; |
345 } | 350 } |
OLD | NEW |