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

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

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest that broke after rebase. Created 6 years, 8 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
OLDNEW
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // The GPU manufacturer's device id for the chip set. 139 // The GPU manufacturer's device id for the chip set.
140 optional uint32 device_id = 2; 140 optional uint32 device_id = 2;
141 141
142 // The driver version on the GPU. 142 // The driver version on the GPU.
143 optional string driver_version = 3; 143 optional string driver_version = 3;
144 144
145 // The driver date on the GPU. 145 // The driver date on the GPU.
146 optional string driver_date = 4; 146 optional string driver_date = 4;
147 147
148 // The GPU performance statistics. 148 // The GPU performance statistics.
149 // See http://src.chromium.org/viewvc/chrome/trunk/src/content/public/comm on/gpu_performance_stats.h?view=markup 149 // See
150 // http://src.chromium.org/viewvc/chrome/trunk/src/content/public/common/g pu_performance_stats.h?view=markup
Ilya Sherman 2014/04/15 23:00:40 Ditto
150 // for details. Currently logged only on Windows. 151 // for details. Currently logged only on Windows.
151 message PerformanceStatistics { 152 message PerformanceStatistics {
152 optional float graphics_score = 1; 153 optional float graphics_score = 1;
153 optional float gaming_score = 2; 154 optional float gaming_score = 2;
154 optional float overall_score = 3; 155 optional float overall_score = 3;
155 } 156 }
156 optional PerformanceStatistics performance_statistics = 5; 157 optional PerformanceStatistics performance_statistics = 5;
157 158
158 // The GL_VENDOR string. An example of a gl_vendor string is 159 // The GL_VENDOR string. An example of a gl_vendor string is
159 // "Imagination Technologies". "" if we are not using OpenGL. 160 // "Imagination Technologies". "" if we are not using OpenGL.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 CONNECTION_UNKNOWN = 0; 266 CONNECTION_UNKNOWN = 0;
266 CONNECTION_ETHERNET = 1; 267 CONNECTION_ETHERNET = 1;
267 CONNECTION_WIFI = 2; 268 CONNECTION_WIFI = 2;
268 CONNECTION_2G = 3; 269 CONNECTION_2G = 3;
269 CONNECTION_3G = 4; 270 CONNECTION_3G = 4;
270 CONNECTION_4G = 5; 271 CONNECTION_4G = 5;
271 } 272 }
272 // The connection type according to NetworkChangeNotifier. 273 // The connection type according to NetworkChangeNotifier.
273 optional ConnectionType connection_type = 2; 274 optional ConnectionType connection_type = 2;
274 275
275 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the log. 276 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the
277 // log.
Ilya Sherman 2014/04/15 23:00:40 Ditto. It does seem worthwhile to clean up the pr
276 optional bool wifi_phy_layer_protocol_is_ambiguous = 3; 278 optional bool wifi_phy_layer_protocol_is_ambiguous = 3;
277 279
278 // See net::WifiPHYLayerProtocol. 280 // See net::WifiPHYLayerProtocol.
279 enum WifiPHYLayerProtocol { 281 enum WifiPHYLayerProtocol {
280 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; 282 WIFI_PHY_LAYER_PROTOCOL_NONE = 0;
281 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1; 283 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1;
282 WIFI_PHY_LAYER_PROTOCOL_A = 2; 284 WIFI_PHY_LAYER_PROTOCOL_A = 2;
283 WIFI_PHY_LAYER_PROTOCOL_B = 3; 285 WIFI_PHY_LAYER_PROTOCOL_B = 3;
284 WIFI_PHY_LAYER_PROTOCOL_G = 4; 286 WIFI_PHY_LAYER_PROTOCOL_G = 4;
285 WIFI_PHY_LAYER_PROTOCOL_N = 5; 287 WIFI_PHY_LAYER_PROTOCOL_N = 5;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 // client_id: 502 // client_id:
501 // client_key = client_id % 4096 503 // client_key = client_id % 4096
502 // Then, each installed extension is mapped into a hash bucket according to 504 // Then, each installed extension is mapped into a hash bucket according to
503 // bucket = CityHash64(StringPrintf("%d:%s", 505 // bucket = CityHash64(StringPrintf("%d:%s",
504 // client_key, extension_id)) % 1024 506 // client_key, extension_id)) % 1024
505 // The client reports the set of hash buckets occupied by all installed 507 // The client reports the set of hash buckets occupied by all installed
506 // extensions. If multiple extensions map to the same bucket, that bucket is 508 // extensions. If multiple extensions map to the same bucket, that bucket is
507 // still only reported once. 509 // still only reported once.
508 repeated int32 occupied_extension_bucket = 18; 510 repeated int32 occupied_extension_bucket = 18;
509 } 511 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698