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

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

Issue 12082090: [net] Add WifiPhyMode to SystemProfile (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix logic Created 7 years, 10 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // The GL_RENDERER string. An example of a gl_renderer string is 147 // The GL_RENDERER string. An example of a gl_renderer string is
148 // "PowerVR SGX 540". "" if we are not using OpenGL. 148 // "PowerVR SGX 540". "" if we are not using OpenGL.
149 optional string gl_renderer = 7; 149 optional string gl_renderer = 7;
150 } 150 }
151 optional Graphics gpu = 8; 151 optional Graphics gpu = 8;
152 } 152 }
153 optional Hardware hardware = 6; 153 optional Hardware hardware = 6;
154 154
155 // Information about the network connection. 155 // Information about the network connection.
156 message Network { 156 message Network {
157 // Set to true if there was a network change during the lifetime of the log. 157 // Set to true if connection_type changed during the lifetime of the log.
158 optional bool connection_type_is_ambiguous = 1; 158 optional bool connection_type_is_ambiguous = 1;
159 159
160 // See net::NetworkChangeNotifier::ConnectionType. 160 // See net::NetworkChangeNotifier::ConnectionType.
161 enum ConnectionType { 161 enum ConnectionType {
162 CONNECTION_UNKNOWN = 0; 162 CONNECTION_UNKNOWN = 0;
163 CONNECTION_ETHERNET = 1; 163 CONNECTION_ETHERNET = 1;
164 CONNECTION_WIFI = 2; 164 CONNECTION_WIFI = 2;
165 CONNECTION_2G = 3; 165 CONNECTION_2G = 3;
166 CONNECTION_3G = 4; 166 CONNECTION_3G = 4;
167 CONNECTION_4G = 5; 167 CONNECTION_4G = 5;
168 } 168 }
169 optional ConnectionType connection_type = 2; 169 optional ConnectionType connection_type = 2;
170
171 // Set to true if wifi_phy_mode changed during the lifetime of the log.
172 optional bool wifi_phy_mode_is_ambiguous = 3;
173
174 // See net::WifiPhyMode.
175 enum WifiPhyMode {
176 WIFI_PHY_MODE_NONE = 0;
177 WIFI_PHY_MODE_ANCIENT = 1;
178 WIFI_PHY_MODE_A = 2;
179 WIFI_PHY_MODE_B = 3;
180 WIFI_PHY_MODE_G = 4;
181 WIFI_PHY_MODE_N = 5;
182 WIFI_PHY_MODE_UNKNOWN = 6;
183 }
184 optional WifiPhyMode wifi_phy_mode = 4;
170 } 185 }
171 optional Network network = 13; 186 optional Network network = 13;
172 187
173 // Information on the Google Update install that is managing this client. 188 // Information on the Google Update install that is managing this client.
174 message GoogleUpdate { 189 message GoogleUpdate {
175 // Whether the Google Update install is system-level or user-level. 190 // Whether the Google Update install is system-level or user-level.
176 optional bool is_system_install = 1; 191 optional bool is_system_install = 1;
177 192
178 // The date at which Google Update last started performing an automatic 193 // The date at which Google Update last started performing an automatic
179 // update check, in seconds since the Unix epoch. 194 // update check, in seconds since the Unix epoch.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // The name of the field trial, as a 32-bit identifier. 356 // The name of the field trial, as a 32-bit identifier.
342 // Currently, the identifier is a hash of the field trial's name. 357 // Currently, the identifier is a hash of the field trial's name.
343 optional fixed32 name_id = 1; 358 optional fixed32 name_id = 1;
344 359
345 // The user's group within the field trial, as a 32-bit identifier. 360 // The user's group within the field trial, as a 32-bit identifier.
346 // Currently, the identifier is a hash of the group's name. 361 // Currently, the identifier is a hash of the group's name.
347 optional fixed32 group_id = 2; 362 optional fixed32 group_id = 2;
348 } 363 }
349 repeated FieldTrial field_trial = 9; 364 repeated FieldTrial field_trial = 9;
350 } 365 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698