Chromium Code Reviews| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 273 // flash-based drives. | 273 // flash-based drives. |
| 274 optional bool has_seek_penalty = 1; | 274 optional bool has_seek_penalty = 1; |
| 275 } | 275 } |
| 276 // The drive that the application executable was loaded from. | 276 // The drive that the application executable was loaded from. |
| 277 optional Drive app_drive = 16; | 277 optional Drive app_drive = 16; |
| 278 // The drive that the current user data directory was loaded from. | 278 // The drive that the current user data directory was loaded from. |
| 279 optional Drive user_data_drive = 17; | 279 optional Drive user_data_drive = 17; |
| 280 } | 280 } |
| 281 optional Hardware hardware = 6; | 281 optional Hardware hardware = 6; |
| 282 | 282 |
| 283 // Information about the network connection. | 283 // Information about the network connection. |
|
Alexei Svitkine (slow)
2017/01/03 17:48:48
Add a "Next tag:" comment.
tbansal1
2017/01/03 18:55:44
Done.
| |
| 284 message Network { | 284 message Network { |
| 285 // Set to true if connection_type changed during the lifetime of the log. | 285 // Set to true if connection_type changed during the lifetime of the log. |
| 286 optional bool connection_type_is_ambiguous = 1; | 286 optional bool connection_type_is_ambiguous = 1; |
| 287 | 287 |
| 288 // Derived from net::NetworkChangeNotifier::ConnectionType translated | 288 // Derived from net::NetworkChangeNotifier::ConnectionType translated |
| 289 // through NetworkMetricsProvider::GetConnectionType. | 289 // through NetworkMetricsProvider::GetConnectionType. |
| 290 enum ConnectionType { | 290 enum ConnectionType { |
| 291 CONNECTION_UNKNOWN = 0; | 291 CONNECTION_UNKNOWN = 0; |
| 292 CONNECTION_ETHERNET = 1; | 292 CONNECTION_ETHERNET = 1; |
| 293 CONNECTION_WIFI = 2; | 293 CONNECTION_WIFI = 2; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 359 // Identifiers). These are provided by the vendor through WPS | 359 // Identifiers). These are provided by the vendor through WPS |
| 360 // (Wireless Provisioning Service) information elements, which | 360 // (Wireless Provisioning Service) information elements, which |
| 361 // identifies the content of the element. | 361 // identifies the content of the element. |
| 362 repeated uint32 element_identifier = 4; | 362 repeated uint32 element_identifier = 4; |
| 363 } | 363 } |
| 364 // The wireless access point vendor information. | 364 // The wireless access point vendor information. |
| 365 optional VendorInformation vendor_info = 3; | 365 optional VendorInformation vendor_info = 3; |
| 366 } | 366 } |
| 367 // Information of the wireless AP that device is connected to. | 367 // Information of the wireless AP that device is connected to. |
| 368 optional WifiAccessPoint access_point_info = 5; | 368 optional WifiAccessPoint access_point_info = 5; |
| 369 | |
| 370 // Derived from net::NetworkQualityEstimator::EffectiveConnectionType | |
| 371 // translated through NetworkMetricsProvider::GetConnectionType. | |
| 372 enum EffectiveConnectionType { | |
| 373 EFFECTIVE_CONNECTION_TYPE_UNKNOWN = 0; | |
| 374 EFFECTIVE_CONNECTION_TYPE_OFFLINE = 1; | |
| 375 EFFECTIVE_CONNECTION_TYPE_SLOW_2G = 2; | |
| 376 EFFECTIVE_CONNECTION_TYPE_2G = 3; | |
| 377 EFFECTIVE_CONNECTION_TYPE_3G = 4; | |
| 378 EFFECTIVE_CONNECTION_TYPE_4G = 5; | |
| 379 // Set to |EFFECTIVE_CONNECTION_TYPE_AMBIGUOUS| true if connection_type | |
| 380 // changed during the lifetime of the log. | |
| 381 EFFECTIVE_CONNECTION_TYPE_AMBIGUOUS = 6; | |
| 382 } | |
| 383 // The connection type according to net::NetworkQualityEstimator. | |
|
Alexei Svitkine (slow)
2017/01/03 17:48:48
Can you expand comment to explain differences with
tbansal1
2017/01/03 18:55:44
Done.
| |
| 384 optional EffectiveConnectionType effective_connection_type = 6; | |
|
Alexei Svitkine (slow)
2017/01/03 17:48:49
Please send an internal CL with this change to the
tbansal1
2017/01/03 18:55:44
OK, I will do that. But, just to expand on my unde
asvitkine_google
2017/01/03 19:04:13
They are compatible, it's just that for metrics pr
| |
| 369 } | 385 } |
| 370 optional Network network = 13; | 386 optional Network network = 13; |
| 371 | 387 |
| 372 // Information on the Google Update install that is managing this client. | 388 // Information on the Google Update install that is managing this client. |
| 373 message GoogleUpdate { | 389 message GoogleUpdate { |
| 374 // Whether the Google Update install is system-level or user-level. | 390 // Whether the Google Update install is system-level or user-level. |
| 375 optional bool is_system_install = 1; | 391 optional bool is_system_install = 1; |
| 376 | 392 |
| 377 // The date at which Google Update last started performing an automatic | 393 // The date at which Google Update last started performing an automatic |
| 378 // update check, in seconds since the Unix epoch. | 394 // update check, in seconds since the Unix epoch. |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 854 | 870 |
| 855 // The hash of the product version. Might not be set if the product version | 871 // The hash of the product version. Might not be set if the product version |
| 856 // could not be obtained from the disk. | 872 // could not be obtained from the disk. |
| 857 optional fixed32 product_version_hash = 4; | 873 optional fixed32 product_version_hash = 4; |
| 858 | 874 |
| 859 // The current state of the product. | 875 // The current state of the product. |
| 860 optional AntiVirusState product_state = 5; | 876 optional AntiVirusState product_state = 5; |
| 861 } | 877 } |
| 862 repeated AntiVirusProduct antivirus_product = 23; | 878 repeated AntiVirusProduct antivirus_product = 23; |
| 863 } | 879 } |
| OLD | NEW |