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

Unified Diff: components/offline_pages/background/request_picker.h

Issue 2269173003: Adjust scheduling for non-user requested items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FGorski CR feedback 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_picker.h
diff --git a/components/offline_pages/background/request_picker.h b/components/offline_pages/background/request_picker.h
index 6b8af8f43bfa49e4039d533df769dadc3dd942c1..04469f78576b3c011decee98e8b40188deb74152 100644
--- a/components/offline_pages/background/request_picker.h
+++ b/components/offline_pages/background/request_picker.h
@@ -32,7 +32,7 @@ class RequestPicker {
// conditions, and call back to the RequestCoordinator when we have one.
void ChooseNextRequest(
RequestCoordinator::RequestPickedCallback picked_callback,
- RequestCoordinator::RequestQueueEmptyCallback empty_callback,
+ RequestCoordinator::RequestNotPickedCallback not_picked_callback,
DeviceConditions* device_conditions);
private:
@@ -92,7 +92,7 @@ class RequestPicker {
// Callback for when we are done picking a request to do next.
RequestCoordinator::RequestPickedCallback picked_callback_;
// Callback for when there are no more reqeusts to pick.
- RequestCoordinator::RequestQueueEmptyCallback empty_callback_;
+ RequestCoordinator::RequestNotPickedCallback not_picked_callback_;
// Allows us to pass a weak pointer to callbacks.
base::WeakPtrFactory<RequestPicker> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698