Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: net/nqe/network_quality_estimator_params.h

Issue 2672733002: Read NQE prefs to network quality store under all cases (Closed)
Patch Set: ps Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/nqe/network_quality_estimator.cc ('k') | net/nqe/network_quality_estimator_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/nqe/network_quality_estimator.cc ('k') | net/nqe/network_quality_estimator_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698