Chromium Code Reviews| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 optional string name = 1; | 71 optional string name = 1; |
| 72 | 72 |
| 73 // The version of the OS. The meaning of this field is OS-dependent. | 73 // The version of the OS. The meaning of this field is OS-dependent. |
| 74 optional string version = 2; | 74 optional string version = 2; |
| 75 | 75 |
| 76 // The fingerprint of the build. This field is used only on Android. | 76 // The fingerprint of the build. This field is used only on Android. |
| 77 optional string fingerprint = 3; | 77 optional string fingerprint = 3; |
| 78 } | 78 } |
| 79 optional OS os = 5; | 79 optional OS os = 5; |
| 80 | 80 |
| 81 // Next tag for Hardware: 13 | 81 // Next tag for Hardware: 14 |
| 82 // Information on the user's hardware. | 82 // Information on the user's hardware. |
| 83 message Hardware { | 83 message Hardware { |
| 84 // The CPU architecture (x86, PowerPC, x86_64, ...) | 84 // The CPU architecture (x86, PowerPC, x86_64, ...) |
| 85 optional string cpu_architecture = 1; | 85 optional string cpu_architecture = 1; |
| 86 | 86 |
| 87 // The amount of RAM present on the system, in megabytes. | 87 // The amount of RAM present on the system, in megabytes. |
| 88 optional int64 system_ram_mb = 2; | 88 optional int64 system_ram_mb = 2; |
| 89 | 89 |
| 90 // The base memory address that chrome.dll was loaded at. | 90 // The base memory address that chrome.dll was loaded at. |
| 91 // (Logged only on Windows.) | 91 // (Logged only on Windows.) |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 109 optional int32 primary_screen_width = 6; | 109 optional int32 primary_screen_width = 6; |
| 110 optional int32 primary_screen_height = 7; | 110 optional int32 primary_screen_height = 7; |
| 111 | 111 |
| 112 // The device scale factor of the primary screen. | 112 // The device scale factor of the primary screen. |
| 113 optional float primary_screen_scale_factor = 12; | 113 optional float primary_screen_scale_factor = 12; |
| 114 | 114 |
| 115 // Max DPI for any attached screen. (Windows only) | 115 // Max DPI for any attached screen. (Windows only) |
| 116 optional float max_dpi_x = 9; | 116 optional float max_dpi_x = 9; |
| 117 optional float max_dpi_y = 10; | 117 optional float max_dpi_y = 10; |
| 118 | 118 |
| 119 // Information on the CPU obtained by CPUID. | |
| 120 message CPU { | |
| 121 optional string vendor_name = 1; | |
| 122 optional uint32 stepping = 2; | |
| 123 optional uint32 model = 3; | |
| 124 optional uint32 family = 4; | |
| 125 optional uint32 type = 5; | |
| 126 optional uint32 extended_model = 6; | |
| 127 optional uint32 extended_family = 7; | |
|
Ilya Sherman
2013/06/26 00:43:01
Please document each of these fields.
| |
| 128 } | |
| 129 optional CPU cpu = 13; | |
| 130 | |
| 119 // Information on the GPU | 131 // Information on the GPU |
| 120 message Graphics { | 132 message Graphics { |
| 121 // The GPU manufacturer's vendor id. | 133 // The GPU manufacturer's vendor id. |
| 122 optional uint32 vendor_id = 1; | 134 optional uint32 vendor_id = 1; |
| 123 | 135 |
| 124 // The GPU manufacturer's device id for the chip set. | 136 // The GPU manufacturer's device id for the chip set. |
| 125 optional uint32 device_id = 2; | 137 optional uint32 device_id = 2; |
| 126 | 138 |
| 127 // The driver version on the GPU. | 139 // The driver version on the GPU. |
| 128 optional string driver_version = 3; | 140 optional string driver_version = 3; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 413 // The name of the field trial, as a 32-bit identifier. | 425 // The name of the field trial, as a 32-bit identifier. |
| 414 // Currently, the identifier is a hash of the field trial's name. | 426 // Currently, the identifier is a hash of the field trial's name. |
| 415 optional fixed32 name_id = 1; | 427 optional fixed32 name_id = 1; |
| 416 | 428 |
| 417 // The user's group within the field trial, as a 32-bit identifier. | 429 // The user's group within the field trial, as a 32-bit identifier. |
| 418 // Currently, the identifier is a hash of the group's name. | 430 // Currently, the identifier is a hash of the group's name. |
| 419 optional fixed32 group_id = 2; | 431 optional fixed32 group_id = 2; |
| 420 } | 432 } |
| 421 repeated FieldTrial field_trial = 9; | 433 repeated FieldTrial field_trial = 9; |
| 422 } | 434 } |
| OLD | NEW |