| 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 #ifndef BASE_TASK_RUNNER_H_ | 5 #ifndef BASE_TASK_RUNNER_H_ |
| 6 #define BASE_TASK_RUNNER_H_ | 6 #define BASE_TASK_RUNNER_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 11 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 13 #include "base/time.h" | 12 #include "base/time.h" |
| 14 | 13 |
| 15 namespace tracked_objects { | 14 namespace tracked_objects { |
| 16 class Location; | 15 class Location; |
| 17 } // namespace tracked_objects | 16 } // namespace tracked_objects |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 virtual void OnDestruct() const; | 144 virtual void OnDestruct() const; |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 struct BASE_EXPORT TaskRunnerTraits { | 147 struct BASE_EXPORT TaskRunnerTraits { |
| 149 static void Destruct(const TaskRunner* task_runner); | 148 static void Destruct(const TaskRunner* task_runner); |
| 150 }; | 149 }; |
| 151 | 150 |
| 152 } // namespace base | 151 } // namespace base |
| 153 | 152 |
| 154 #endif // BASE_TASK_RUNNER_H_ | 153 #endif // BASE_TASK_RUNNER_H_ |
| OLD | NEW |