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

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

Issue 2690113004: Throttle Socket watcher RTT notifications from QUIC (Closed)
Patch Set: Rebased, rch comments 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
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