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

Unified Diff: components/offline_pages/core/task_queue.h

Issue 2535273003: [Offline pages] TaskQueue polishing (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « components/offline_pages/core/task.h ('k') | components/offline_pages/core/task_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/task_queue.h
diff --git a/components/offline_pages/core/task_queue.h b/components/offline_pages/core/task_queue.h
index 941c47632a96271794c7822585f591cf04150585..4d685603f183358d10d2ee1956996b1d72e3c687 100644
--- a/components/offline_pages/core/task_queue.h
+++ b/components/offline_pages/core/task_queue.h
@@ -43,7 +43,7 @@ class TaskQueue {
// Checks whether there are any tasks to run, as well as whether no task is
// currently running. When both are met, it will start the next task in the
// queue.
- void MaybeStartTask();
+ void StartTaskIfAvailable();
// Callback for informing the queue that a task was completed.
void TaskCompleted(Task* task);
« no previous file with comments | « components/offline_pages/core/task.h ('k') | components/offline_pages/core/task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698