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

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: hook things up to Network 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 optional bool wifi_phy_mode_is_ambiguous = 3;
Ilya Sherman 2013/02/11 06:26:13 nit: Docs.
szym 2013/02/11 08:30:53 Done.
172
173 // See net::WifiPhyMode.
174 enum WifiPhyMode {
175 WIFI_PHY_MODE_NONE = 0;
176 WIFI_PHY_MODE_ANCIENT = 1;
177 WIFI_PHY_MODE_A = 2;
178 WIFI_PHY_MODE_B = 3;
179 WIFI_PHY_MODE_G = 4;
180 WIFI_PHY_MODE_N = 5;
181 WIFI_PHY_MODE_UNKNOWN = 6;
182 }
183 optional WifiPhyMode wifi_phy_mode = 4;
170 } 184 }
171 optional Network network = 13; 185 optional Network network = 13;
172 186
173 // Information on the Google Update install that is managing this client. 187 // Information on the Google Update install that is managing this client.
174 message GoogleUpdate { 188 message GoogleUpdate {
175 // Whether the Google Update install is system-level or user-level. 189 // Whether the Google Update install is system-level or user-level.
176 optional bool is_system_install = 1; 190 optional bool is_system_install = 1;
177 191
178 // The date at which Google Update last started performing an automatic 192 // The date at which Google Update last started performing an automatic
179 // update check, in seconds since the Unix epoch. 193 // 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. 355 // The name of the field trial, as a 32-bit identifier.
342 // Currently, the identifier is a hash of the field trial's name. 356 // Currently, the identifier is a hash of the field trial's name.
343 optional fixed32 name_id = 1; 357 optional fixed32 name_id = 1;
344 358
345 // The user's group within the field trial, as a 32-bit identifier. 359 // 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. 360 // Currently, the identifier is a hash of the group's name.
347 optional fixed32 group_id = 2; 361 optional fixed32 group_id = 2;
348 } 362 }
349 repeated FieldTrial field_trial = 9; 363 repeated FieldTrial field_trial = 9;
350 } 364 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698