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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 optional string name = 1; | 76 optional string name = 1; |
77 | 77 |
78 // The version of the OS. The meaning of this field is OS-dependent. | 78 // The version of the OS. The meaning of this field is OS-dependent. |
79 optional string version = 2; | 79 optional string version = 2; |
80 | 80 |
81 // The fingerprint of the build. This field is used only on Android. | 81 // The fingerprint of the build. This field is used only on Android. |
82 optional string fingerprint = 3; | 82 optional string fingerprint = 3; |
83 } | 83 } |
84 optional OS os = 5; | 84 optional OS os = 5; |
85 | 85 |
86 // Next tag for Hardware: 13 | 86 // Next tag for Hardware: 14 |
87 // Information on the user's hardware. | 87 // Information on the user's hardware. |
88 message Hardware { | 88 message Hardware { |
89 // The CPU architecture (x86, PowerPC, x86_64, ...) | 89 // The CPU architecture (x86, PowerPC, x86_64, ...) |
90 optional string cpu_architecture = 1; | 90 optional string cpu_architecture = 1; |
91 | 91 |
92 // The amount of RAM present on the system, in megabytes. | 92 // The amount of RAM present on the system, in megabytes. |
93 optional int64 system_ram_mb = 2; | 93 optional int64 system_ram_mb = 2; |
94 | 94 |
95 // The base memory address that chrome.dll was loaded at. | 95 // The base memory address that chrome.dll was loaded at. |
96 // (Logged only on Windows.) | 96 // (Logged only on Windows.) |
(...skipping 17 matching lines...) Expand all Loading... |
114 optional int32 primary_screen_width = 6; | 114 optional int32 primary_screen_width = 6; |
115 optional int32 primary_screen_height = 7; | 115 optional int32 primary_screen_height = 7; |
116 | 116 |
117 // The device scale factor of the primary screen. | 117 // The device scale factor of the primary screen. |
118 optional float primary_screen_scale_factor = 12; | 118 optional float primary_screen_scale_factor = 12; |
119 | 119 |
120 // Max DPI for any attached screen. (Windows only) | 120 // Max DPI for any attached screen. (Windows only) |
121 optional float max_dpi_x = 9; | 121 optional float max_dpi_x = 9; |
122 optional float max_dpi_y = 10; | 122 optional float max_dpi_y = 10; |
123 | 123 |
| 124 // Information on the CPU obtained by CPUID. |
| 125 message CPU { |
| 126 // A 12 character string naming the vendor, e.g. "GeniuneIntel". |
| 127 optional string vendor_name = 1; |
| 128 |
| 129 // The signature reported by CPUID (from EAX). |
| 130 optional uint32 signature = 2; |
| 131 } |
| 132 optional CPU cpu = 13; |
| 133 |
124 // Information on the GPU | 134 // Information on the GPU |
125 message Graphics { | 135 message Graphics { |
126 // The GPU manufacturer's vendor id. | 136 // The GPU manufacturer's vendor id. |
127 optional uint32 vendor_id = 1; | 137 optional uint32 vendor_id = 1; |
128 | 138 |
129 // The GPU manufacturer's device id for the chip set. | 139 // The GPU manufacturer's device id for the chip set. |
130 optional uint32 device_id = 2; | 140 optional uint32 device_id = 2; |
131 | 141 |
132 // The driver version on the GPU. | 142 // The driver version on the GPU. |
133 optional string driver_version = 3; | 143 optional string driver_version = 3; |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 // The name of the field trial, as a 32-bit identifier. | 428 // The name of the field trial, as a 32-bit identifier. |
419 // Currently, the identifier is a hash of the field trial's name. | 429 // Currently, the identifier is a hash of the field trial's name. |
420 optional fixed32 name_id = 1; | 430 optional fixed32 name_id = 1; |
421 | 431 |
422 // The user's group within the field trial, as a 32-bit identifier. | 432 // The user's group within the field trial, as a 32-bit identifier. |
423 // Currently, the identifier is a hash of the group's name. | 433 // Currently, the identifier is a hash of the group's name. |
424 optional fixed32 group_id = 2; | 434 optional fixed32 group_id = 2; |
425 } | 435 } |
426 repeated FieldTrial field_trial = 9; | 436 repeated FieldTrial field_trial = 9; |
427 } | 437 } |
OLD | NEW |