| 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_ESTIMATOR_PARAMS_H_ | 5 #ifndef NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ |
| 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ | 6 #define NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // Returns the effective connection type that was configured by variation | 71 // Returns the effective connection type that was configured by variation |
| 72 // parameters. | 72 // parameters. |
| 73 EffectiveConnectionType forced_effective_connection_type( | 73 EffectiveConnectionType forced_effective_connection_type( |
| 74 const std::map<std::string, std::string>& variation_params); | 74 const std::map<std::string, std::string>& variation_params); |
| 75 | 75 |
| 76 // Returns true if reading from the persistent cache has been enabled via field | 76 // Returns true if reading from the persistent cache has been enabled via field |
| 77 // trial. | 77 // trial. |
| 78 bool persistent_cache_reading_enabled( | 78 bool persistent_cache_reading_enabled( |
| 79 const std::map<std::string, std::string>& variation_params); | 79 const std::map<std::string, std::string>& variation_params); |
| 80 | 80 |
| 81 // Returns the the minimum interval betweeen consecutive notifications to a |
| 82 // single socket watcher. |
| 83 base::TimeDelta GetMinSocketWatcherNotificationInterval( |
| 84 const std::map<std::string, std::string>& variation_params); |
| 85 |
| 81 } // namespace internal | 86 } // namespace internal |
| 82 | 87 |
| 83 } // namespace nqe | 88 } // namespace nqe |
| 84 | 89 |
| 85 } // namespace net | 90 } // namespace net |
| 86 | 91 |
| 87 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ | 92 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ |
| OLD | NEW |