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