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

Unified Diff: net/nqe/network_quality_estimator_test_util.h

Issue 2596983003: Use net::TestNetworkQualityEstimator in resource loader unittests (Closed)
Patch Set: Rebased, bengr comments Created 3 years, 12 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
« no previous file with comments | « net/nqe/network_qualities_prefs_manager_unittest.cc ('k') | net/nqe/network_quality_estimator_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality_estimator_test_util.h
diff --git a/net/nqe/network_quality_estimator_test_util.h b/net/nqe/network_quality_estimator_test_util.h
index 6bb0f9626755cc2b029268b4c62868462a0238f8..6faa363b328c915cdf4c9e4b67dcd1283d6f1e8e 100644
--- a/net/nqe/network_quality_estimator_test_util.h
+++ b/net/nqe/network_quality_estimator_test_util.h
@@ -28,6 +28,11 @@ class ExternalEstimateProvider;
// Helps in setting the current network type and id.
class TestNetworkQualityEstimator : public NetworkQualityEstimator {
public:
+ TestNetworkQualityEstimator();
+
+ explicit TestNetworkQualityEstimator(
+ const std::map<std::string, std::string>& variation_params);
+
TestNetworkQualityEstimator(
const std::map<std::string, std::string>& variation_params,
std::unique_ptr<net::ExternalEstimateProvider>
@@ -40,9 +45,6 @@ class TestNetworkQualityEstimator : public NetworkQualityEstimator {
bool allow_smaller_responses_for_tests,
bool add_default_platform_observations);
- explicit TestNetworkQualityEstimator(
- const std::map<std::string, std::string>& variation_params);
-
~TestNetworkQualityEstimator() override;
// Runs one URL request to completion.
« no previous file with comments | « net/nqe/network_qualities_prefs_manager_unittest.cc ('k') | net/nqe/network_quality_estimator_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698