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

Unified Diff: net/nqe/network_quality_estimator_test_util.cc

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_quality_estimator_test_util.h ('k') | net/nqe/network_quality_estimator_unittest.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.cc
diff --git a/net/nqe/network_quality_estimator_test_util.cc b/net/nqe/network_quality_estimator_test_util.cc
index 44d5babf192b0f5f40bf5bb71c1af6ad03c59b74..d93e286180ed47bdc16552ca36828088cc31b4cf 100644
--- a/net/nqe/network_quality_estimator_test_util.cc
+++ b/net/nqe/network_quality_estimator_test_util.cc
@@ -20,6 +20,15 @@ const base::FilePath::CharType kTestFilePath[] =
namespace net {
+TestNetworkQualityEstimator::TestNetworkQualityEstimator()
+ : TestNetworkQualityEstimator(std::map<std::string, std::string>()) {}
+
+TestNetworkQualityEstimator::TestNetworkQualityEstimator(
+ const std::map<std::string, std::string>& variation_params)
+ : TestNetworkQualityEstimator(variation_params,
+ std::unique_ptr<ExternalEstimateProvider>()) {
+}
+
TestNetworkQualityEstimator::TestNetworkQualityEstimator(
const std::map<std::string, std::string>& variation_params,
std::unique_ptr<net::ExternalEstimateProvider> external_estimate_provider)
@@ -48,12 +57,6 @@ TestNetworkQualityEstimator::TestNetworkQualityEstimator(
EXPECT_TRUE(embedded_test_server_.Start());
}
-TestNetworkQualityEstimator::TestNetworkQualityEstimator(
- const std::map<std::string, std::string>& variation_params)
- : TestNetworkQualityEstimator(variation_params,
- std::unique_ptr<ExternalEstimateProvider>()) {
-}
-
TestNetworkQualityEstimator::~TestNetworkQualityEstimator() {}
void TestNetworkQualityEstimator::RunOneRequest() {
« no previous file with comments | « net/nqe/network_quality_estimator_test_util.h ('k') | net/nqe/network_quality_estimator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698