| OLD | NEW |
| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; | 280 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; |
| 281 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1; | 281 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1; |
| 282 WIFI_PHY_LAYER_PROTOCOL_A = 2; | 282 WIFI_PHY_LAYER_PROTOCOL_A = 2; |
| 283 WIFI_PHY_LAYER_PROTOCOL_B = 3; | 283 WIFI_PHY_LAYER_PROTOCOL_B = 3; |
| 284 WIFI_PHY_LAYER_PROTOCOL_G = 4; | 284 WIFI_PHY_LAYER_PROTOCOL_G = 4; |
| 285 WIFI_PHY_LAYER_PROTOCOL_N = 5; | 285 WIFI_PHY_LAYER_PROTOCOL_N = 5; |
| 286 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6; | 286 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6; |
| 287 } | 287 } |
| 288 // The physical layer mode of the associated wifi access point, if any. | 288 // The physical layer mode of the associated wifi access point, if any. |
| 289 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4; | 289 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4; |
| 290 |
| 291 // Describe wifi AP information. |
| 292 message WifiAp { |
| 293 // Vendor prefix of the AP's BSSID, these are OUI registered by |
| 294 // the IEEE and are encoded with the first byte in bits 16-23, the |
| 295 // second byte in bits 8-15 and the third byte in bits 0-7. |
| 296 optional uint32 vendor_prefix = 1; |
| 297 // Seurity mode. |
| 298 optional string security_mode = 2; |
| 299 // Vendor specific information. |
| 300 message VendorInformation { |
| 301 optional string model_number = 1; |
| 302 optional string model_name = 2; |
| 303 optional string device_name = 3; |
| 304 optional string manufacturer = 4; |
| 305 repeated uint32 oui = 5; |
| 306 } |
| 307 optional VendorInformation vendor_info = 3; |
| 308 } |
| 309 // Information of the wireless AP that device is connected to. |
| 310 optional WifiAp ap_info = 5; |
| 290 } | 311 } |
| 291 optional Network network = 13; | 312 optional Network network = 13; |
| 292 | 313 |
| 293 // Information on the Google Update install that is managing this client. | 314 // Information on the Google Update install that is managing this client. |
| 294 message GoogleUpdate { | 315 message GoogleUpdate { |
| 295 // Whether the Google Update install is system-level or user-level. | 316 // Whether the Google Update install is system-level or user-level. |
| 296 optional bool is_system_install = 1; | 317 optional bool is_system_install = 1; |
| 297 | 318 |
| 298 // The date at which Google Update last started performing an automatic | 319 // The date at which Google Update last started performing an automatic |
| 299 // update check, in seconds since the Unix epoch. | 320 // update check, in seconds since the Unix epoch. |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 // client_id: | 521 // client_id: |
| 501 // client_key = client_id % 4096 | 522 // client_key = client_id % 4096 |
| 502 // Then, each installed extension is mapped into a hash bucket according to | 523 // Then, each installed extension is mapped into a hash bucket according to |
| 503 // bucket = CityHash64(StringPrintf("%d:%s", | 524 // bucket = CityHash64(StringPrintf("%d:%s", |
| 504 // client_key, extension_id)) % 1024 | 525 // client_key, extension_id)) % 1024 |
| 505 // The client reports the set of hash buckets occupied by all installed | 526 // The client reports the set of hash buckets occupied by all installed |
| 506 // extensions. If multiple extensions map to the same bucket, that bucket is | 527 // extensions. If multiple extensions map to the same bucket, that bucket is |
| 507 // still only reported once. | 528 // still only reported once. |
| 508 repeated int32 occupied_extension_bucket = 18; | 529 repeated int32 occupied_extension_bucket = 18; |
| 509 } | 530 } |
| OLD | NEW |