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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 // The GPU performance statistics. | 133 // The GPU performance statistics. |
134 // See http://src.chromium.org/viewvc/chrome/trunk/src/content/public/comm
on/gpu_performance_stats.h?view=markup | 134 // See http://src.chromium.org/viewvc/chrome/trunk/src/content/public/comm
on/gpu_performance_stats.h?view=markup |
135 // for details. Currently logged only on Windows. | 135 // for details. Currently logged only on Windows. |
136 message PerformanceStatistics { | 136 message PerformanceStatistics { |
137 optional float graphics_score = 1; | 137 optional float graphics_score = 1; |
138 optional float gaming_score = 2; | 138 optional float gaming_score = 2; |
139 optional float overall_score = 3; | 139 optional float overall_score = 3; |
140 } | 140 } |
141 optional PerformanceStatistics performance_statistics = 5; | 141 optional PerformanceStatistics performance_statistics = 5; |
142 | 142 |
143 // The GL_VENDOR string. An example of a gl_vendor string is | 143 // The GL_VENDOR string. An example of a gl_vendor string is |
144 // "Imagination Technologies". "" if we are not using OpenGL. | 144 // "Imagination Technologies". "" if we are not using OpenGL. |
145 optional string gl_vendor = 6; | 145 optional string gl_vendor = 6; |
146 | 146 |
147 // The GL_RENDERER string. An example of a gl_renderer string is | 147 // The GL_RENDERER string. An example of a gl_renderer string is |
148 // "PowerVR SGX 540". "" if we are not using OpenGL. | 148 // "PowerVR SGX 540". "" if we are not using OpenGL. |
149 optional string gl_renderer = 7; | 149 optional string gl_renderer = 7; |
150 } | 150 } |
151 optional Graphics gpu = 8; | 151 optional Graphics gpu = 8; |
| 152 |
| 153 // Information about Bluetooth devices paired with the system. |
| 154 message Bluetooth { |
| 155 // Whether Bluetooth is present on this system. |
| 156 optional bool is_present = 1; |
| 157 |
| 158 // Whether Bluetooth is enabled on this system. |
| 159 optional bool is_enabled = 2; |
| 160 |
| 161 // Describes a paired device. |
| 162 message PairedDevice { |
| 163 // Assigned class of the device. This is a bitfield according to the |
| 164 // Bluetooth specification available at the following URL: |
| 165 // https://www.bluetooth.org/en-us/specification/assigned-numbers-overvi
ew/baseband |
| 166 optional uint32 bluetooth_class = 1; |
| 167 |
| 168 // Decoded device type. |
| 169 enum Type { |
| 170 DEVICE_UNKNOWN = 0; |
| 171 DEVICE_COMPUTER = 1; |
| 172 DEVICE_PHONE = 2; |
| 173 DEVICE_MODEM = 3; |
| 174 DEVICE_AUDIO = 4; |
| 175 DEVICE_CAR_AUDIO = 5; |
| 176 DEVICE_VIDEO = 6; |
| 177 DEVICE_PERIPHERAL = 7; |
| 178 DEVICE_JOYSTICK = 8; |
| 179 DEVICE_GAMEPAD = 9; |
| 180 DEVICE_KEYBOARD = 10; |
| 181 DEVICE_MOUSE = 11; |
| 182 DEVICE_TABLET = 12; |
| 183 DEVICE_KEYBOARD_MOUSE_COMBO = 13; |
| 184 } |
| 185 optional Type type = 2; |
| 186 |
| 187 // Vendor prefix of the Bluetooth address, these are OUI registered by |
| 188 // the IEEE and are encoded with the first byte in bits 16-23, the |
| 189 // second byte in bits 8-15 and the third byte in bits 0-7. |
| 190 // |
| 191 // ie. Google's OUI (00:1A:11) is encoded as 0x00001A11 |
| 192 optional uint32 vendor_prefix = 4; |
| 193 |
| 194 // Vendor ID of the device, where available. |
| 195 optional uint32 vendor_id = 5; |
| 196 |
| 197 // Product ID of the device, where available. |
| 198 optional uint32 product_id = 6; |
| 199 |
| 200 // Device ID of the device, generally the release or version number in |
| 201 // BCD format, where available. |
| 202 optional uint32 device_id = 7; |
| 203 } |
| 204 repeated PairedDevice paired_device = 3; |
| 205 } |
| 206 optional Bluetooth bluetooth = 13; |
152 } | 207 } |
153 optional Hardware hardware = 6; | 208 optional Hardware hardware = 6; |
154 | 209 |
155 // Information about the network connection. | 210 // Information about the network connection. |
156 message Network { | 211 message Network { |
157 // Set to true if connection_type changed during the lifetime of the log. | 212 // Set to true if connection_type changed during the lifetime of the log. |
158 optional bool connection_type_is_ambiguous = 1; | 213 optional bool connection_type_is_ambiguous = 1; |
159 | 214 |
160 // See net::NetworkChangeNotifier::ConnectionType. | 215 // See net::NetworkChangeNotifier::ConnectionType. |
161 enum ConnectionType { | 216 enum ConnectionType { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // The name of the field trial, as a 32-bit identifier. | 413 // The name of the field trial, as a 32-bit identifier. |
359 // Currently, the identifier is a hash of the field trial's name. | 414 // Currently, the identifier is a hash of the field trial's name. |
360 optional fixed32 name_id = 1; | 415 optional fixed32 name_id = 1; |
361 | 416 |
362 // The user's group within the field trial, as a 32-bit identifier. | 417 // The user's group within the field trial, as a 32-bit identifier. |
363 // Currently, the identifier is a hash of the group's name. | 418 // Currently, the identifier is a hash of the group's name. |
364 optional fixed32 group_id = 2; | 419 optional fixed32 group_id = 2; |
365 } | 420 } |
366 repeated FieldTrial field_trial = 9; | 421 repeated FieldTrial field_trial = 9; |
367 } | 422 } |
OLD | NEW |