| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Returns true if the effective connection type has been determined via | 66 // Returns true if the effective connection type has been determined via |
| 67 // variation parameters. | 67 // variation parameters. |
| 68 bool forced_effective_connection_type_set( | 68 bool forced_effective_connection_type_set( |
| 69 const std::map<std::string, std::string>& variation_params); | 69 const std::map<std::string, std::string>& variation_params); |
| 70 | 70 |
| 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 |
| 77 // trial. |
| 78 bool persistent_cache_reading_enabled( |
| 79 const std::map<std::string, std::string>& variation_params); |
| 80 |
| 76 } // namespace internal | 81 } // namespace internal |
| 77 | 82 |
| 78 } // namespace nqe | 83 } // namespace nqe |
| 79 | 84 |
| 80 } // namespace net | 85 } // namespace net |
| 81 | 86 |
| 82 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ | 87 #endif // NET_NQE_NETWORK_QUALITY_ESTIMATOR_PARAMS_H_ |
| OLD | NEW |