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

Side by Side Diff: components/scheduler/child/scheduler_task_runner_delegate_for_test.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, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/scheduler/child/scheduler_task_runner_delegate_for_test.h" 5 #include "components/scheduler/child/scheduler_task_runner_delegate_for_test.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "components/scheduler/child/nestable_task_runner_for_test.h" 9 #include "components/scheduler/base/nestable_task_runner_for_test.h"
10 10
11 namespace scheduler { 11 namespace scheduler {
12 12
13 // static 13 // static
14 scoped_refptr<SchedulerTaskRunnerDelegateForTest> 14 scoped_refptr<SchedulerTaskRunnerDelegateForTest>
15 SchedulerTaskRunnerDelegateForTest::Create( 15 SchedulerTaskRunnerDelegateForTest::Create(
16 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 16 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
17 return make_scoped_refptr( 17 return make_scoped_refptr(
18 new SchedulerTaskRunnerDelegateForTest(task_runner)); 18 new SchedulerTaskRunnerDelegateForTest(task_runner));
19 } 19 }
(...skipping 29 matching lines...) Expand all
49 49
50 bool SchedulerTaskRunnerDelegateForTest::RunsTasksOnCurrentThread() const { 50 bool SchedulerTaskRunnerDelegateForTest::RunsTasksOnCurrentThread() const {
51 return task_runner_->RunsTasksOnCurrentThread(); 51 return task_runner_->RunsTasksOnCurrentThread();
52 } 52 }
53 53
54 bool SchedulerTaskRunnerDelegateForTest::IsNested() const { 54 bool SchedulerTaskRunnerDelegateForTest::IsNested() const {
55 return task_runner_->IsNested(); 55 return task_runner_->IsNested();
56 } 56 }
57 57
58 } // namespace scheduler 58 } // namespace scheduler
OLDNEW
« no previous file with comments | « components/scheduler/child/scheduler_task_runner_delegate.h ('k') | components/scheduler/child/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698