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

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, 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
« no previous file with comments | « chrome/chrome_browser.gypi ('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 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 OUIs
295 // (Organizationally Unique Identifiers) registered by
296 // the IEEE and are encoded with the first byte in bits 16-23, the
297 // second byte in bits 8-15 and the third byte in bits 0-7.
298 optional uint32 vendor_prefix = 1;
299
300 // Access point seurity mode definitions.
301 enum SecurityMode {
302 SECURITY_UNKNOWN = 0;
303 SECURITY_WPA = 1;
304 SECURITY_WEP = 2;
305 SECURITY_RSN = 3;
306 SECURITY_802_1X = 4;
307 SECURITY_PSK = 5;
308 SECURITY_NONE = 6;
309 }
310 // The security mode of the access point.
311 optional SecurityMode security_mode = 2;
312
313 // Vendor specific information.
314 message VendorInformation {
315 // The model number, for example "0".
316 optional string model_number = 1;
317
318 // The model name (sometimes the same as the model_number),
319 // for example "WZR-HP-AG300H".
320 optional string model_name = 2;
321
322 // The device name (sometimes the same as the model_number),
323 // for example "Dummynet"
324 optional string device_name = 3;
325
326 // The list of vendor-specific OUIs (Organziationally Unqiue
327 // Identifiers). These are provided by the vendor through WPS
328 // (Wireless Provisioning Service) information elements, which
329 // identifies the content of the element.
330 repeated uint32 element_identifier = 4;
331 }
332 // The wireless access point vendor information.
333 optional VendorInformation vendor_info = 3;
334 }
335 // Information of the wireless AP that device is connected to.
336 optional WifiAccessPoint access_point_info = 5;
291 } 337 }
292 optional Network network = 13; 338 optional Network network = 13;
293 339
294 // Information on the Google Update install that is managing this client. 340 // Information on the Google Update install that is managing this client.
295 message GoogleUpdate { 341 message GoogleUpdate {
296 // Whether the Google Update install is system-level or user-level. 342 // Whether the Google Update install is system-level or user-level.
297 optional bool is_system_install = 1; 343 optional bool is_system_install = 1;
298 344
299 // The date at which Google Update last started performing an automatic 345 // The date at which Google Update last started performing an automatic
300 // update check, in seconds since the Unix epoch. 346 // update check, in seconds since the Unix epoch.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // client_id: 547 // client_id:
502 // client_key = client_id % 4096 548 // client_key = client_id % 4096
503 // Then, each installed extension is mapped into a hash bucket according to 549 // Then, each installed extension is mapped into a hash bucket according to
504 // bucket = CityHash64(StringPrintf("%d:%s", 550 // bucket = CityHash64(StringPrintf("%d:%s",
505 // client_key, extension_id)) % 1024 551 // client_key, extension_id)) % 1024
506 // The client reports the set of hash buckets occupied by all installed 552 // 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 553 // extensions. If multiple extensions map to the same bucket, that bucket is
508 // still only reported once. 554 // still only reported once.
509 repeated int32 occupied_extension_bucket = 18; 555 repeated int32 occupied_extension_bucket = 18;
510 } 556 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698