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

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

Issue 2064323004: Defines initial DeviceConditions and and plumbs down through StartProcessing() call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge 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 c7a5bdab4f274b84c8c647530272c814905a27f1..c1850404b8d6bff3ed035c9c6b1fc5b2dc3cb5b0 100644
--- a/components/offline_pages/background/request_coordinator.cc
+++ b/components/offline_pages/background/request_coordinator.cc
@@ -91,6 +91,7 @@ void RequestCoordinator::RequestQueueEmpty() {
}
bool RequestCoordinator::StartProcessing(
+ const DeviceConditions& device_conditions,
const base::Callback<void(bool)>& callback) {
scheduler_callback_ = callback;
// TODO(petewil): Check existing conditions (should be passed down from

Powered by Google App Engine
This is Rietveld 408576698