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

Unified Diff: net/nqe/network_quality_estimator.h

Issue 2672733002: Read NQE prefs to network quality store under all cases (Closed)
Patch Set: ps Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/nqe/network_quality_estimator.h
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
index 2bc567141ea41e599b8d559cbb01b0829d53d7eb..111248bb048d8a68551945dbf5830865d827d53e 100644
--- a/net/nqe/network_quality_estimator.h
+++ b/net/nqe/network_quality_estimator.h
@@ -398,6 +398,8 @@ class NET_EXPORT NetworkQualityEstimator
UnknownEffectiveConnectionType);
FRIEND_TEST_ALL_PREFIXES(NetworkQualityEstimatorTest,
TypicalNetworkQualities);
+ FRIEND_TEST_ALL_PREFIXES(NetworkQualityEstimatorTest,
+ OnPrefsReadWithReadingDisabled);
// Value of round trip time observations is in base::TimeDelta.
typedef nqe::internal::Observation<base::TimeDelta> RttObservation;
@@ -761,6 +763,9 @@ class NET_EXPORT NetworkQualityEstimator
const bool forced_effective_connection_type_set_;
const EffectiveConnectionType forced_effective_connection_type_;
+ // Set to true if reading of the network quality prefs is enabled.
+ const bool persistent_cache_reading_enabled_;
+
base::ThreadChecker thread_checker_;
// Manages the writing of events to the net log.
« no previous file with comments | « chrome/browser/net/nqe/ui_network_quality_estimator_service_browsertest.cc ('k') | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698