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

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: sync 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | net/base/net_util.h » ('j') | 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;
(...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 // The connection type according to NetworkChangeNotifier.
169 optional ConnectionType connection_type = 2; 170 optional ConnectionType connection_type = 2;
171
172 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the log.
173 optional bool wifi_phy_layer_protocol_is_ambiguous = 3;
174
175 // See net::WifiPHYLayerProtocol.
176 enum WifiPHYLayerProtocol {
177 WIFI_PHY_LAYER_PROTOCOL_NONE = 0;
178 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1;
179 WIFI_PHY_LAYER_PROTOCOL_A = 2;
180 WIFI_PHY_LAYER_PROTOCOL_B = 3;
181 WIFI_PHY_LAYER_PROTOCOL_G = 4;
182 WIFI_PHY_LAYER_PROTOCOL_N = 5;
183 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6;
184 }
185 // The physical layer mode of the associated wifi access point, if any.
186 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4;
170 } 187 }
171 optional Network network = 13; 188 optional Network network = 13;
172 189
173 // Information on the Google Update install that is managing this client. 190 // Information on the Google Update install that is managing this client.
174 message GoogleUpdate { 191 message GoogleUpdate {
175 // Whether the Google Update install is system-level or user-level. 192 // Whether the Google Update install is system-level or user-level.
176 optional bool is_system_install = 1; 193 optional bool is_system_install = 1;
177 194
178 // The date at which Google Update last started performing an automatic 195 // The date at which Google Update last started performing an automatic
179 // update check, in seconds since the Unix epoch. 196 // 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. 358 // The name of the field trial, as a 32-bit identifier.
342 // Currently, the identifier is a hash of the field trial's name. 359 // Currently, the identifier is a hash of the field trial's name.
343 optional fixed32 name_id = 1; 360 optional fixed32 name_id = 1;
344 361
345 // The user's group within the field trial, as a 32-bit identifier. 362 // 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. 363 // Currently, the identifier is a hash of the group's name.
347 optional fixed32 group_id = 2; 364 optional fixed32 group_id = 2;
348 } 365 }
349 repeated FieldTrial field_trial = 9; 366 repeated FieldTrial field_trial = 9;
350 } 367 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698