| 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; |
| 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 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // qualification reports, test device tags, etc. | 91 // qualification reports, test device tags, etc. |
| 92 optional string hardware_class = 4; | 92 optional string hardware_class = 4; |
| 93 | 93 |
| 94 // The number of physical screens. | 94 // The number of physical screens. |
| 95 optional int32 screen_count = 5; | 95 optional int32 screen_count = 5; |
| 96 | 96 |
| 97 // The screen dimensions of the primary screen, in pixels. | 97 // The screen dimensions of the primary screen, in pixels. |
| 98 optional int32 primary_screen_width = 6; | 98 optional int32 primary_screen_width = 6; |
| 99 optional int32 primary_screen_height = 7; | 99 optional int32 primary_screen_height = 7; |
| 100 | 100 |
| 101 // The device scale factor of the primary screen. |
| 102 optional float primary_screen_scale_factor = 12; |
| 103 |
| 101 // Information on the GPU | 104 // Information on the GPU |
| 102 message Graphics { | 105 message Graphics { |
| 103 // The GPU manufacturer's vendor id. | 106 // The GPU manufacturer's vendor id. |
| 104 optional uint32 vendor_id = 1; | 107 optional uint32 vendor_id = 1; |
| 105 | 108 |
| 106 // The GPU manufacturer's device id for the chip set. | 109 // The GPU manufacturer's device id for the chip set. |
| 107 optional uint32 device_id = 2; | 110 optional uint32 device_id = 2; |
| 108 | 111 |
| 109 // The driver version on the GPU. | 112 // The driver version on the GPU. |
| 110 optional string driver_version = 3; | 113 optional string driver_version = 3; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // The name of the field trial, as a 32-bit identifier. | 300 // The name of the field trial, as a 32-bit identifier. |
| 298 // Currently, the identifier is a hash of the field trial's name. | 301 // Currently, the identifier is a hash of the field trial's name. |
| 299 optional fixed32 name_id = 1; | 302 optional fixed32 name_id = 1; |
| 300 | 303 |
| 301 // The user's group within the field trial, as a 32-bit identifier. | 304 // The user's group within the field trial, as a 32-bit identifier. |
| 302 // Currently, the identifier is a hash of the group's name. | 305 // Currently, the identifier is a hash of the group's name. |
| 303 optional fixed32 group_id = 2; | 306 optional fixed32 group_id = 2; |
| 304 } | 307 } |
| 305 repeated FieldTrial field_trial = 9; | 308 repeated FieldTrial field_trial = 9; |
| 306 } | 309 } |
| OLD | NEW |