| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
| 7 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" |
| 8 | 8 |
| 9 namespace base { | 9 namespace base { |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 base::TimeDelta delay) override; | 23 base::TimeDelta delay) override; |
| 24 // Always returns true to avoid triggering DCHECKs. | 24 // Always returns true to avoid triggering DCHECKs. |
| 25 bool RunsTasksOnCurrentThread() const override; | 25 bool RunsTasksOnCurrentThread() const override; |
| 26 | 26 |
| 27 protected: | 27 protected: |
| 28 ~NullTaskRunner() override; | 28 ~NullTaskRunner() override; |
| 29 | 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(NullTaskRunner); | 30 DISALLOW_COPY_AND_ASSIGN(NullTaskRunner); |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 } // namespace | 33 } // namespace base |
| OLD | NEW |