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

Unified Diff: components/offline_pages/background/request_coordinator_unittest.cc

Issue 2347783003: [OfflinePages, NetworkQualityEstimator] Use NetworkQualityEstimator to decide on triggering Backgro… (Closed)
Patch Set: Created 4 years, 3 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: components/offline_pages/background/request_coordinator_unittest.cc
diff --git a/components/offline_pages/background/request_coordinator_unittest.cc b/components/offline_pages/background/request_coordinator_unittest.cc
index 1b469fd84cd2091b005807a1138a77aa2db82128..7549c04d9fafce707532e99dcb3ac04c9b1c594d 100644
--- a/components/offline_pages/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/background/request_coordinator_unittest.cc
@@ -308,9 +308,12 @@ void RequestCoordinatorTest::SetUp() {
store(new RequestQueueInMemoryStore());
std::unique_ptr<RequestQueue> queue(new RequestQueue(std::move(store)));
std::unique_ptr<Scheduler> scheduler_stub(new SchedulerStub());
+ // TODO(dougarnett): Add NetworkQualityProvider and tests for its use.
+ std::unique_ptr<net::NetworkQualityEstimator::NetworkQualityProvider> nqe(
+ nullptr);
coordinator_.reset(new RequestCoordinator(
std::move(policy), std::move(factory), std::move(queue),
- std::move(scheduler_stub)));
+ std::move(scheduler_stub), std::move(nqe)));
coordinator_->AddObserver(&observer_);
}

Powered by Google App Engine
This is Rietveld 408576698