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/ | |
166 // assigned-numbers-overview/baseband | |
Ilya Sherman
2013/04/23 00:09:43
nit: No need to wrap URLs. They are an exception
keybuk
2013/04/23 00:41:42
Done.
| |
167 optional uint32 bluetooth_class = 1; | |
168 | |
169 // Decoded device type. | |
170 enum Type { | |
171 DEVICE_UNKNOWN = 0; | |
172 DEVICE_COMPUTER = 1; | |
173 DEVICE_PHONE = 2; | |
174 DEVICE_MODEM = 3; | |
175 DEVICE_AUDIO = 4; | |
176 DEVICE_CAR_AUDIO = 5; | |
177 DEVICE_VIDEO = 6; | |
178 DEVICE_PERIPHERAL = 7; | |
179 DEVICE_JOYSTICK = 8; | |
180 DEVICE_GAMEPAD = 9; | |
181 DEVICE_KEYBOARD = 10; | |
182 DEVICE_MOUSE = 11; | |
183 DEVICE_TABLET = 12; | |
184 DEVICE_KEYBOARD_MOUSE_COMBO = 13; | |
185 } | |
186 optional Type type = 2; | |
187 | |
188 // Vendor prefix of the Bluetooth address, these are OUI registered by | |
189 // the IEEE and are encoded with the first byte in bits 16-23, the | |
190 // second byte in bits 8-15 and the third byte in bits 0-7. | |
191 // | |
192 // ie. Google's OUI (00:1A:11) is encoded as 0x00001A11 | |
193 optional uint32 vendor_prefix = 4; | |
194 | |
195 // Vendor ID of the device, where available. | |
196 optional uint32 vendor_id = 5; | |
197 | |
198 // Product ID of the device, where available. | |
199 optional uint32 product_id = 6; | |
200 | |
201 // Device ID of the device, generally the release or version number in | |
202 // BCD format, where available. | |
203 optional uint32 device_id = 7; | |
204 } | |
205 repeated PairedDevice paired_device = 3; | |
206 } | |
207 optional Bluetooth bluetooth = 13; | |
152 } | 208 } |
153 optional Hardware hardware = 6; | 209 optional Hardware hardware = 6; |
154 | 210 |
155 // Information about the network connection. | 211 // Information about the network connection. |
156 message Network { | 212 message Network { |
157 // Set to true if connection_type changed during the lifetime of the log. | 213 // Set to true if connection_type changed during the lifetime of the log. |
158 optional bool connection_type_is_ambiguous = 1; | 214 optional bool connection_type_is_ambiguous = 1; |
159 | 215 |
160 // See net::NetworkChangeNotifier::ConnectionType. | 216 // See net::NetworkChangeNotifier::ConnectionType. |
161 enum ConnectionType { | 217 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. | 414 // The name of the field trial, as a 32-bit identifier. |
359 // Currently, the identifier is a hash of the field trial's name. | 415 // Currently, the identifier is a hash of the field trial's name. |
360 optional fixed32 name_id = 1; | 416 optional fixed32 name_id = 1; |
361 | 417 |
362 // The user's group within the field trial, as a 32-bit identifier. | 418 // 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. | 419 // Currently, the identifier is a hash of the group's name. |
364 optional fixed32 group_id = 2; | 420 optional fixed32 group_id = 2; |
365 } | 421 } |
366 repeated FieldTrial field_trial = 9; | 422 repeated FieldTrial field_trial = 9; |
367 } | 423 } |
OLD | NEW |