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

Unified Diff: components/scheduler/child/task_queue.cc

Issue 1370343002: Revert of scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « components/scheduler/child/task_queue.h ('k') | components/scheduler/child/task_queue_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/task_queue.cc
diff --git a/components/scheduler/child/task_queue.cc b/components/scheduler/child/task_queue.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4898508c887cf3d4d3c3a89d43548baa769de2bc
--- /dev/null
+++ b/components/scheduler/child/task_queue.cc
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/scheduler/child/task_queue.h"
+
+namespace scheduler {
+
+bool TaskQueue::IsQueueEmpty() const {
+ return GetQueueState() == QueueState::EMPTY;
+}
+
+} // namespace scheduler
« no previous file with comments | « components/scheduler/child/task_queue.h ('k') | components/scheduler/child/task_queue_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698