Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: components/metrics/proto/system_profile.proto

Issue 999623002: metrics/base: log whether drives have seek penalties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DONT_ASSERT_ANYTHING Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698