OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ | 5 #ifndef NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ |
6 #define NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ | 6 #define NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 // On Android, a Java counterpart will be generated for this enum. | 10 // On Android, a Java counterpart will be generated for this enum. |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // The observation is a previously cached estimate of the metric. | 26 // The observation is a previously cached estimate of the metric. |
27 NETWORK_QUALITY_OBSERVATION_SOURCE_CACHED_ESTIMATE, | 27 NETWORK_QUALITY_OBSERVATION_SOURCE_CACHED_ESTIMATE, |
28 | 28 |
29 // The observation is derived from network connection information provided | 29 // The observation is derived from network connection information provided |
30 // by the platform. For example, typical RTT and throughput values are used | 30 // by the platform. For example, typical RTT and throughput values are used |
31 // for a given type of network connection. | 31 // for a given type of network connection. |
32 NETWORK_QUALITY_OBSERVATION_SOURCE_DEFAULT_FROM_PLATFORM, | 32 NETWORK_QUALITY_OBSERVATION_SOURCE_DEFAULT_FROM_PLATFORM, |
33 | 33 |
34 // The observation came from a Chromium-external source. | 34 // The observation came from a Chromium-external source. |
35 NETWORK_QUALITY_OBSERVATION_SOURCE_EXTERNAL_ESTIMATE | 35 NETWORK_QUALITY_OBSERVATION_SOURCE_EXTERNAL_ESTIMATE, |
| 36 |
| 37 NETWORK_QUALITY_OBSERVATION_SOURCE_MAX, |
36 }; | 38 }; |
37 | 39 |
38 } // namespace net | 40 } // namespace net |
39 | 41 |
40 #endif // NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ | 42 #endif // NET_NQE_NETWORK_QUALITY_OBSERVATION_SOURCE_H_ |
OLD | NEW |