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

Unified Diff: components/offline_pages/core/background/request_coordinator.h

Issue 2572503002: [OfflinePages] Renames StartProcessing to StartScheduledProcessing (Closed)
Patch Set: Fixed junit change Created 4 years 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/core/background/request_coordinator.h
diff --git a/components/offline_pages/core/background/request_coordinator.h b/components/offline_pages/core/background/request_coordinator.h
index 60a85f8f5e430dff7b0fd60dfb20645f0cfa5e5a..6ff8f335bba8ed5916102d88fcbdfdc739bb6b88 100644
--- a/components/offline_pages/core/background/request_coordinator.h
+++ b/components/offline_pages/core/background/request_coordinator.h
@@ -103,11 +103,12 @@ class RequestCoordinator : public KeyedService,
// Get all save page request items in the callback.
void GetAllRequests(const GetRequestsCallback& callback);
- // Starts processing of one or more queued save page later requests.
+ // Starts processing of one or more queued save page later requests
+ // in scheduled background mode.
// Returns whether processing was started and that caller should expect
// a callback. If processing was already active, returns false.
- bool StartProcessing(const DeviceConditions& device_conditions,
- const base::Callback<void(bool)>& callback);
+ bool StartScheduledProcessing(const DeviceConditions& device_conditions,
+ const base::Callback<void(bool)>& callback);
// Stops the current request processing if active. This is a way for
// caller to abort processing; otherwise, processing will complete on
@@ -179,7 +180,7 @@ class RequestCoordinator : public KeyedService,
bool is_starting() { return is_starting_; }
// Tracks whether the last offlining attempt got canceled. This is reset by
- // the next StartProcessing() call.
+ // the next call to start processing.
bool is_canceled() {
return processing_state_ == ProcessingWindowState::STOPPED;
}

Powered by Google App Engine
This is Rietveld 408576698