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

Side by Side Diff: content/child/scheduler/nestable_task_runner_for_test.cc

Issue 1025323003: Introduce a SchedulerHelper in content/child/scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 "content/renderer/scheduler/nestable_task_runner_for_test.h" 5 #include "content/child/scheduler/nestable_task_runner_for_test.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 // static 9 // static
10 scoped_refptr<NestableTaskRunnerForTest> NestableTaskRunnerForTest::Create( 10 scoped_refptr<NestableTaskRunnerForTest> NestableTaskRunnerForTest::Create(
11 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 11 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
12 return make_scoped_refptr(new NestableTaskRunnerForTest(task_runner)); 12 return make_scoped_refptr(new NestableTaskRunnerForTest(task_runner));
13 } 13 }
14 14
15 NestableTaskRunnerForTest::NestableTaskRunnerForTest( 15 NestableTaskRunnerForTest::NestableTaskRunnerForTest(
(...skipping 24 matching lines...) Expand all
40 40
41 bool NestableTaskRunnerForTest::IsNested() const { 41 bool NestableTaskRunnerForTest::IsNested() const {
42 return is_nested_; 42 return is_nested_;
43 } 43 }
44 44
45 void NestableTaskRunnerForTest::SetNested(bool is_nested) { 45 void NestableTaskRunnerForTest::SetNested(bool is_nested) {
46 is_nested_ = is_nested; 46 is_nested_ = is_nested;
47 } 47 }
48 48
49 } // namespace content 49 } // namespace content
OLDNEW
« no previous file with comments | « content/child/scheduler/nestable_task_runner_for_test.h ('k') | content/child/scheduler/null_idle_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698