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

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

Issue 328793002: Add wifi AP info to system profile metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; 281 WIFI_PHY_LAYER_PROTOCOL_NONE = 0;
282 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1; 282 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1;
283 WIFI_PHY_LAYER_PROTOCOL_A = 2; 283 WIFI_PHY_LAYER_PROTOCOL_A = 2;
284 WIFI_PHY_LAYER_PROTOCOL_B = 3; 284 WIFI_PHY_LAYER_PROTOCOL_B = 3;
285 WIFI_PHY_LAYER_PROTOCOL_G = 4; 285 WIFI_PHY_LAYER_PROTOCOL_G = 4;
286 WIFI_PHY_LAYER_PROTOCOL_N = 5; 286 WIFI_PHY_LAYER_PROTOCOL_N = 5;
287 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6; 287 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6;
288 } 288 }
289 // The physical layer mode of the associated wifi access point, if any. 289 // The physical layer mode of the associated wifi access point, if any.
290 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4; 290 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4;
291
292 // Describe wifi access point information.
293 message WifiAccessPoint {
294 // Vendor prefix of the access point's BSSID, these are OUI registered by
295 // the IEEE and are encoded with the first byte in bits 16-23, the
296 // second byte in bits 8-15 and the third byte in bits 0-7.
297 optional uint32 vendor_prefix = 1;
298
299 // Access point seurity mode definitions.
300 enum SecurityMode {
301 SECURITY_UNKNOWN = 0;
302 SECURITY_WPA = 1;
303 SECURITY_WEP = 2;
304 SECURITY_RSN = 3;
305 SECURITY_802_1X = 4;
306 SECURITY_PSK = 5;
307 SECURITY_NONE = 6;
308 }
309 // The security mode of the access point.
310 optional SecurityMode security_mode = 2;
311
312 // Vendor specific information.
313 message VendorInformation {
314 // The model number, for example "WNR3500L".
315 optional string model_number = 1;
316
317 // The model name (sometime same as model_number),
318 // for example "WNR3500L".
319 optional string model_name = 2;
320
321 // The device name (sometime same as model_number),
322 // for example "WNR3500L"
323 optional string device_name = 3;
324
325 // The list of vendor-specific OUIs.
326 repeated uint32 oui = 4;
327 }
328 // The wireless access point vendor information.
329 optional VendorInformation vendor_info = 3;
330 }
331 // Information of the wireless AP that device is connected to.
332 optional WifiAccessPoint ap_info = 5;
291 } 333 }
292 optional Network network = 13; 334 optional Network network = 13;
293 335
294 // Information on the Google Update install that is managing this client. 336 // Information on the Google Update install that is managing this client.
295 message GoogleUpdate { 337 message GoogleUpdate {
296 // Whether the Google Update install is system-level or user-level. 338 // Whether the Google Update install is system-level or user-level.
297 optional bool is_system_install = 1; 339 optional bool is_system_install = 1;
298 340
299 // The date at which Google Update last started performing an automatic 341 // The date at which Google Update last started performing an automatic
300 // update check, in seconds since the Unix epoch. 342 // update check, in seconds since the Unix epoch.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // client_id: 543 // client_id:
502 // client_key = client_id % 4096 544 // client_key = client_id % 4096
503 // Then, each installed extension is mapped into a hash bucket according to 545 // Then, each installed extension is mapped into a hash bucket according to
504 // bucket = CityHash64(StringPrintf("%d:%s", 546 // bucket = CityHash64(StringPrintf("%d:%s",
505 // client_key, extension_id)) % 1024 547 // client_key, extension_id)) % 1024
506 // The client reports the set of hash buckets occupied by all installed 548 // The client reports the set of hash buckets occupied by all installed
507 // extensions. If multiple extensions map to the same bucket, that bucket is 549 // extensions. If multiple extensions map to the same bucket, that bucket is
508 // still only reported once. 550 // still only reported once.
509 repeated int32 occupied_extension_bucket = 18; 551 repeated int32 occupied_extension_bucket = 18;
510 } 552 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698