| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |