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 message Drive { | |
266 optional bool has_seek_penalty = 1; | |
Alexei Svitkine (slow)
2015/03/16 16:49:36
This definitely needs a comment.
Dan Beam
2015/03/16 19:20:23
Done.
| |
267 } | |
268 // The drive that the application executable was loaded from. | |
269 optional Drive app_drive = 16; | |
270 // The drive that the current --user-data-dir was loaded from. | |
Alexei Svitkine (slow)
2015/03/16 16:49:36
Nit: I would actually just say "the user data dire
Dan Beam
2015/03/16 19:20:23
Done.
| |
271 optional Drive user_data_drive = 17; | |
264 } | 272 } |
265 optional Hardware hardware = 6; | 273 optional Hardware hardware = 6; |
266 | 274 |
267 // Information about the network connection. | 275 // Information about the network connection. |
268 message Network { | 276 message Network { |
269 // Set to true if connection_type changed during the lifetime of the log. | 277 // Set to true if connection_type changed during the lifetime of the log. |
270 optional bool connection_type_is_ambiguous = 1; | 278 optional bool connection_type_is_ambiguous = 1; |
271 | 279 |
272 // See net::NetworkChangeNotifier::ConnectionType. | 280 // See net::NetworkChangeNotifier::ConnectionType. |
273 enum ConnectionType { | 281 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 | 730 // then HAS_OFFSTORE is reported. This should be kept in sync with the |
723 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc | 731 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc |
724 enum ExtensionsState { | 732 enum ExtensionsState { |
725 NO_EXTENSIONS = 0; | 733 NO_EXTENSIONS = 0; |
726 NO_OFFSTORE_VERIFIED = 1; | 734 NO_OFFSTORE_VERIFIED = 1; |
727 NO_OFFSTORE_UNVERIFIED = 2; | 735 NO_OFFSTORE_UNVERIFIED = 2; |
728 HAS_OFFSTORE = 3; | 736 HAS_OFFSTORE = 3; |
729 } | 737 } |
730 optional ExtensionsState offstore_extensions_state = 19; | 738 optional ExtensionsState offstore_extensions_state = 19; |
731 } | 739 } |
OLD | NEW |