Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 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 // Network Operator Information. | |
| 292 message NetworkOperator { | |
| 293 // MCC+MNC (mobile country code + mobile network code) of the | |
| 294 // the current registered operator. | |
|
Alexei Svitkine (slow)
2014/04/23 16:54:11
What is the "current registered operator"?
Can th
bolian
2014/04/23 17:29:39
I removed the message type since there is only one
| |
| 295 optional string id = 1; | |
|
Alexei Svitkine (slow)
2014/04/23 16:54:11
Should this field be called mmc_mnc? I think that'
bolian
2014/04/23 17:29:39
Done. Changed id to mcc_mnc (you mean mcc_mnc, rig
| |
| 296 } | |
| 297 optional NetworkOperator network_operator = 5; | |
| 290 } | 298 } |
| 291 optional Network network = 13; | 299 optional Network network = 13; |
| 292 | 300 |
| 293 // Information on the Google Update install that is managing this client. | 301 // Information on the Google Update install that is managing this client. |
| 294 message GoogleUpdate { | 302 message GoogleUpdate { |
| 295 // Whether the Google Update install is system-level or user-level. | 303 // Whether the Google Update install is system-level or user-level. |
| 296 optional bool is_system_install = 1; | 304 optional bool is_system_install = 1; |
| 297 | 305 |
| 298 // The date at which Google Update last started performing an automatic | 306 // The date at which Google Update last started performing an automatic |
| 299 // update check, in seconds since the Unix epoch. | 307 // update check, in seconds since the Unix epoch. |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 500 // client_id: | 508 // client_id: |
| 501 // client_key = client_id % 4096 | 509 // client_key = client_id % 4096 |
| 502 // Then, each installed extension is mapped into a hash bucket according to | 510 // Then, each installed extension is mapped into a hash bucket according to |
| 503 // bucket = CityHash64(StringPrintf("%d:%s", | 511 // bucket = CityHash64(StringPrintf("%d:%s", |
| 504 // client_key, extension_id)) % 1024 | 512 // client_key, extension_id)) % 1024 |
| 505 // The client reports the set of hash buckets occupied by all installed | 513 // 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 | 514 // extensions. If multiple extensions map to the same bucket, that bucket is |
| 507 // still only reported once. | 515 // still only reported once. |
| 508 repeated int32 occupied_extension_bucket = 18; | 516 repeated int32 occupied_extension_bucket = 18; |
| 509 } | 517 } |
| OLD | NEW |