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

Side by Side Diff: chrome/common/metrics/proto/system_profile.proto

Issue 10825485: Record device scale factor in the metrics log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/metrics/metrics_log_unittest.cc ('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 (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;
11 11
12 package metrics; 12 package metrics;
13 13
14 // Next tag: 12 14 // Next tag: 13
15 message SystemProfileProto { 15 message SystemProfileProto {
16 // The time when the client was compiled/linked, in seconds since the epoch. 16 // The time when the client was compiled/linked, in seconds since the epoch.
17 optional int64 build_timestamp = 1; 17 optional int64 build_timestamp = 1;
18 18
19 // A version number string for the application. 19 // A version number string for the application.
20 // Most commonly this is the browser version number found in a user agent 20 // Most commonly this is the browser version number found in a user agent
21 // string, and is typically a 4-tuple of numbers separated by periods. In 21 // string, and is typically a 4-tuple of numbers separated by periods. In
22 // cases where the user agent version might be ambiguous (example: Linux 64- 22 // cases where the user agent version might be ambiguous (example: Linux 64-
23 // bit build, rather than 32-bit build, or a Windows version used in some 23 // bit build, rather than 32-bit build, or a Windows version used in some
24 // special context, such as ChromeFrame running in IE), then this may include 24 // special context, such as ChromeFrame running in IE), then this may include
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // qualification reports, test device tags, etc. 91 // qualification reports, test device tags, etc.
92 optional string hardware_class = 4; 92 optional string hardware_class = 4;
93 93
94 // The number of physical screens. 94 // The number of physical screens.
95 optional int32 screen_count = 5; 95 optional int32 screen_count = 5;
96 96
97 // The screen dimensions of the primary screen, in pixels. 97 // The screen dimensions of the primary screen, in pixels.
98 optional int32 primary_screen_width = 6; 98 optional int32 primary_screen_width = 6;
99 optional int32 primary_screen_height = 7; 99 optional int32 primary_screen_height = 7;
100 100
101 // The device scale factor of the primary screen.
102 optional float primary_screen_scale_factor = 12;
103
101 // Information on the GPU 104 // Information on the GPU
102 message Graphics { 105 message Graphics {
103 // The GPU manufacturer's vendor id. 106 // The GPU manufacturer's vendor id.
104 optional uint32 vendor_id = 1; 107 optional uint32 vendor_id = 1;
105 108
106 // The GPU manufacturer's device id for the chip set. 109 // The GPU manufacturer's device id for the chip set.
107 optional uint32 device_id = 2; 110 optional uint32 device_id = 2;
108 111
109 // The driver version on the GPU. 112 // The driver version on the GPU.
110 optional string driver_version = 3; 113 optional string driver_version = 3;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // The name of the field trial, as a 32-bit identifier. 300 // The name of the field trial, as a 32-bit identifier.
298 // Currently, the identifier is a hash of the field trial's name. 301 // Currently, the identifier is a hash of the field trial's name.
299 optional fixed32 name_id = 1; 302 optional fixed32 name_id = 1;
300 303
301 // The user's group within the field trial, as a 32-bit identifier. 304 // The user's group within the field trial, as a 32-bit identifier.
302 // Currently, the identifier is a hash of the group's name. 305 // Currently, the identifier is a hash of the group's name.
303 optional fixed32 group_id = 2; 306 optional fixed32 group_id = 2;
304 } 307 }
305 repeated FieldTrial field_trial = 9; 308 repeated FieldTrial field_trial = 9;
306 } 309 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698