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

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

Issue 2473553004: Request Picker task (Closed)
Patch Set: CR feedback per EStade, FGorski, and DougArnett 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
Index: components/offline_pages/core/task_queue.cc
diff --git a/components/offline_pages/core/task_queue.cc b/components/offline_pages/core/task_queue.cc
index 115c509af1a266f463628f6cf8712c658c34bda4..6f97413bd7607e3fd2e8dce9ab0f33f6e931e12f 100644
--- a/components/offline_pages/core/task_queue.cc
+++ b/components/offline_pages/core/task_queue.cc
@@ -30,6 +30,8 @@ bool TaskQueue::HasRunningTask() const {
}
void TaskQueue::MaybeStartTask() {
+ DVLOG(2) << "running? " << HasRunningTask() << ", pending? "
+ << HasPendingTasks() << " " << __func__;
if (HasRunningTask() || !HasPendingTasks())
return;

Powered by Google App Engine
This is Rietveld 408576698