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

Unified Diff: components/scheduler/base/task_queue_sets.cc

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. 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/base/task_queue_sets.h ('k') | components/scheduler/base/task_queue_sets_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/base/task_queue_sets.cc
diff --git a/components/scheduler/child/task_queue_sets.cc b/components/scheduler/base/task_queue_sets.cc
similarity index 92%
rename from components/scheduler/child/task_queue_sets.cc
rename to components/scheduler/base/task_queue_sets.cc
index 3f7b0cf0a5a46fd7a03130ef9f726851565f010c..9463823fb81809ccc03aa1efb594aa4a55829016 100644
--- a/components/scheduler/child/task_queue_sets.cc
+++ b/components/scheduler/base/task_queue_sets.cc
@@ -2,10 +2,10 @@
// 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_sets.h"
+#include "components/scheduler/base/task_queue_sets.h"
#include "base/logging.h"
-#include "components/scheduler/child/task_queue_impl.h"
+#include "components/scheduler/base/task_queue_impl.h"
namespace scheduler {
namespace internal {
@@ -87,8 +87,8 @@ bool TaskQueueSets::GetOldestQueueInSet(
}
bool TaskQueueSets::IsSetEmpty(size_t set_index) const {
- DCHECK_LT(set_index, enqueue_order_to_queue_maps_.size())
- << " set_index = " << set_index;
+ DCHECK_LT(set_index, enqueue_order_to_queue_maps_.size()) << " set_index = "
+ << set_index;
return enqueue_order_to_queue_maps_[set_index].empty();
}
« no previous file with comments | « components/scheduler/base/task_queue_sets.h ('k') | components/scheduler/base/task_queue_sets_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698