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 // MCC+MNC (mobile country code + mobile network code) of the | |
292 // the current registered mobile network operator. | |
293 // If there is no mobile network, the value is the empty string. | |
Alexei Svitkine (slow)
2014/04/23 17:58:49
How about when it changes during the the course of
bolian
2014/04/24 00:59:24
Is MetricsLog::RecordEnvironment eventually called
| |
294 optional string mcc_mnc = 5; | |
290 } | 295 } |
291 optional Network network = 13; | 296 optional Network network = 13; |
292 | 297 |
293 // Information on the Google Update install that is managing this client. | 298 // Information on the Google Update install that is managing this client. |
294 message GoogleUpdate { | 299 message GoogleUpdate { |
295 // Whether the Google Update install is system-level or user-level. | 300 // Whether the Google Update install is system-level or user-level. |
296 optional bool is_system_install = 1; | 301 optional bool is_system_install = 1; |
297 | 302 |
298 // The date at which Google Update last started performing an automatic | 303 // The date at which Google Update last started performing an automatic |
299 // update check, in seconds since the Unix epoch. | 304 // update check, in seconds since the Unix epoch. |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 // client_id: | 505 // client_id: |
501 // client_key = client_id % 4096 | 506 // client_key = client_id % 4096 |
502 // Then, each installed extension is mapped into a hash bucket according to | 507 // Then, each installed extension is mapped into a hash bucket according to |
503 // bucket = CityHash64(StringPrintf("%d:%s", | 508 // bucket = CityHash64(StringPrintf("%d:%s", |
504 // client_key, extension_id)) % 1024 | 509 // client_key, extension_id)) % 1024 |
505 // The client reports the set of hash buckets occupied by all installed | 510 // 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 | 511 // extensions. If multiple extensions map to the same bucket, that bucket is |
507 // still only reported once. | 512 // still only reported once. |
508 repeated int32 occupied_extension_bucket = 18; | 513 repeated int32 occupied_extension_bucket = 18; |
509 } | 514 } |
OLD | NEW |