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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
261 optional bool connection_type_is_ambiguous = 1; | 261 optional bool connection_type_is_ambiguous = 1; |
262 | 262 |
263 // See net::NetworkChangeNotifier::ConnectionType. | 263 // See net::NetworkChangeNotifier::ConnectionType. |
264 enum ConnectionType { | 264 enum ConnectionType { |
265 CONNECTION_UNKNOWN = 0; | 265 CONNECTION_UNKNOWN = 0; |
266 CONNECTION_ETHERNET = 1; | 266 CONNECTION_ETHERNET = 1; |
267 CONNECTION_WIFI = 2; | 267 CONNECTION_WIFI = 2; |
268 CONNECTION_2G = 3; | 268 CONNECTION_2G = 3; |
269 CONNECTION_3G = 4; | 269 CONNECTION_3G = 4; |
270 CONNECTION_4G = 5; | 270 CONNECTION_4G = 5; |
271 CONNECTION_BLUETOOTH = 6; | |
Ilya Sherman
2014/05/29 18:57:19
Please note that you'll need to make this change i
jkarlin
2014/05/30 21:22:11
Done.
| |
271 } | 272 } |
272 // The connection type according to NetworkChangeNotifier. | 273 // The connection type according to NetworkChangeNotifier. |
273 optional ConnectionType connection_type = 2; | 274 optional ConnectionType connection_type = 2; |
274 | 275 |
275 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the log. | 276 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the log. |
276 optional bool wifi_phy_layer_protocol_is_ambiguous = 3; | 277 optional bool wifi_phy_layer_protocol_is_ambiguous = 3; |
277 | 278 |
278 // See net::WifiPHYLayerProtocol. | 279 // See net::WifiPHYLayerProtocol. |
279 enum WifiPHYLayerProtocol { | 280 enum WifiPHYLayerProtocol { |
280 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; | 281 WIFI_PHY_LAYER_PROTOCOL_NONE = 0; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 // client_id: | 501 // client_id: |
501 // client_key = client_id % 4096 | 502 // client_key = client_id % 4096 |
502 // Then, each installed extension is mapped into a hash bucket according to | 503 // Then, each installed extension is mapped into a hash bucket according to |
503 // bucket = CityHash64(StringPrintf("%d:%s", | 504 // bucket = CityHash64(StringPrintf("%d:%s", |
504 // client_key, extension_id)) % 1024 | 505 // client_key, extension_id)) % 1024 |
505 // The client reports the set of hash buckets occupied by all installed | 506 // 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 | 507 // extensions. If multiple extensions map to the same bucket, that bucket is |
507 // still only reported once. | 508 // still only reported once. |
508 repeated int32 occupied_extension_bucket = 18; | 509 repeated int32 occupied_extension_bucket = 18; |
509 } | 510 } |
OLD | NEW |