OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 optional string fingerprint = 3; | 85 optional string fingerprint = 3; |
86 | 86 |
87 // Whether the version of iOS appears to be "jailbroken". This field is | 87 // Whether the version of iOS appears to be "jailbroken". This field is |
88 // used only on iOS. Chrome for iOS detects whether device contains a | 88 // used only on iOS. Chrome for iOS detects whether device contains a |
89 // DynamicLibraries/ directory. It's a necessary but insufficient indicator | 89 // DynamicLibraries/ directory. It's a necessary but insufficient indicator |
90 // of whether the operating system has been jailbroken. | 90 // of whether the operating system has been jailbroken. |
91 optional bool is_jailbroken = 4; | 91 optional bool is_jailbroken = 4; |
92 } | 92 } |
93 optional OS os = 5; | 93 optional OS os = 5; |
94 | 94 |
95 // Next tag for Hardware: 16 | 95 // Next tag for Hardware: 18 |
96 // Information on the user's hardware. | 96 // Information on the user's hardware. |
97 message Hardware { | 97 message Hardware { |
98 // The CPU architecture (x86, PowerPC, x86_64, ...) | 98 // The CPU architecture (x86, PowerPC, x86_64, ...) |
99 optional string cpu_architecture = 1; | 99 optional string cpu_architecture = 1; |
100 | 100 |
101 // The amount of RAM present on the system, in megabytes. | 101 // The amount of RAM present on the system, in megabytes. |
102 optional int64 system_ram_mb = 2; | 102 optional int64 system_ram_mb = 2; |
103 | 103 |
104 // The base memory address that chrome.dll was loaded at. | 104 // The base memory address that chrome.dll was loaded at. |
105 // (Logged only on Windows.) | 105 // (Logged only on Windows.) |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // Vendor ids and product ids of external touchscreens. | 254 // Vendor ids and product ids of external touchscreens. |
255 message TouchScreen { | 255 message TouchScreen { |
256 // Touch screen vendor id. | 256 // Touch screen vendor id. |
257 optional uint32 vendor_id = 1; | 257 optional uint32 vendor_id = 1; |
258 // Touch screen product id. | 258 // Touch screen product id. |
259 optional uint32 product_id = 2; | 259 optional uint32 product_id = 2; |
260 } | 260 } |
261 // Lists vendor and product ids of external touchscreens. | 261 // Lists vendor and product ids of external touchscreens. |
262 // Logged on ChromeOS only. | 262 // Logged on ChromeOS only. |
263 repeated TouchScreen external_touchscreen = 15; | 263 repeated TouchScreen external_touchscreen = 15; |
| 264 |
| 265 // Drive messages are logged on Windows 7+ only for now. |
| 266 message Drive { |
| 267 // Whether this drive incurs a time penalty when randomly accessed. This |
| 268 // should be true for spinning disks but false for SSDs or other |
| 269 // flash-based drives. |
| 270 optional bool has_seek_penalty = 1; |
| 271 } |
| 272 // The drive that the application executable was loaded from. |
| 273 optional Drive app_drive = 16; |
| 274 // The drive that the current user data directory was loaded from. |
| 275 optional Drive user_data_drive = 17; |
264 } | 276 } |
265 optional Hardware hardware = 6; | 277 optional Hardware hardware = 6; |
266 | 278 |
267 // Information about the network connection. | 279 // Information about the network connection. |
268 message Network { | 280 message Network { |
269 // Set to true if connection_type changed during the lifetime of the log. | 281 // Set to true if connection_type changed during the lifetime of the log. |
270 optional bool connection_type_is_ambiguous = 1; | 282 optional bool connection_type_is_ambiguous = 1; |
271 | 283 |
272 // See net::NetworkChangeNotifier::ConnectionType. | 284 // See net::NetworkChangeNotifier::ConnectionType. |
273 enum ConnectionType { | 285 enum ConnectionType { |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 // then HAS_OFFSTORE is reported. This should be kept in sync with the | 734 // then HAS_OFFSTORE is reported. This should be kept in sync with the |
723 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc | 735 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc |
724 enum ExtensionsState { | 736 enum ExtensionsState { |
725 NO_EXTENSIONS = 0; | 737 NO_EXTENSIONS = 0; |
726 NO_OFFSTORE_VERIFIED = 1; | 738 NO_OFFSTORE_VERIFIED = 1; |
727 NO_OFFSTORE_UNVERIFIED = 2; | 739 NO_OFFSTORE_UNVERIFIED = 2; |
728 HAS_OFFSTORE = 3; | 740 HAS_OFFSTORE = 3; |
729 } | 741 } |
730 optional ExtensionsState offstore_extensions_state = 19; | 742 optional ExtensionsState offstore_extensions_state = 19; |
731 } | 743 } |
OLD | NEW |