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

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

Issue 2473553004: Request Picker task (Closed)
Patch Set: merge with latest 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/background/request_queue_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/offline_pages/background/request_queue_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698