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

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

Issue 2030773002: Add unit tests for the Background Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback per DougArnett Created 4 years, 6 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.cc
diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc
index 940b3e7f29f1e45c8863fe00a326bdd34cd7b28d..6b1e63e46a67324610b1993da9d41f24714a3265 100644
--- a/components/offline_pages/background/request_coordinator.cc
+++ b/components/offline_pages/background/request_coordinator.cc
@@ -96,6 +96,7 @@ void RequestCoordinator::StopProcessing() {
}
void RequestCoordinator::SendRequestToOffliner(const SavePageRequest& request) {
+ // TODO(petewil): Ensure only one offliner at a time is used.
// TODO(petewil): When we have multiple offliners, we need to pick one.
Offliner* offliner = factory_->GetOffliner(policy_.get());
if (!offliner) {

Powered by Google App Engine
This is Rietveld 408576698