OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IOS_WEB_PUBLIC_WEB_THREAD_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_THREAD_H_ |
6 #define IOS_WEB_PUBLIC_WEB_THREAD_H_ | 6 #define IOS_WEB_PUBLIC_WEB_THREAD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/single_thread_task_runner.h" |
15 #include "base/task_runner_util.h" | 17 #include "base/task_runner_util.h" |
16 | 18 |
17 namespace base { | 19 namespace base { |
18 class MessageLoop; | 20 class MessageLoop; |
19 class SequencedWorkerPool; | 21 class SequencedWorkerPool; |
20 } | 22 } |
21 | 23 |
22 namespace tracked_objects { | 24 namespace tracked_objects { |
23 class Location; | 25 class Location; |
24 } | 26 } |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 private: | 269 private: |
268 friend class WebThreadImpl; | 270 friend class WebThreadImpl; |
269 | 271 |
270 WebThread() {} | 272 WebThread() {} |
271 DISALLOW_COPY_AND_ASSIGN(WebThread); | 273 DISALLOW_COPY_AND_ASSIGN(WebThread); |
272 }; | 274 }; |
273 | 275 |
274 } // namespace web | 276 } // namespace web |
275 | 277 |
276 #endif // IOS_WEB_PUBLIC_WEB_THREAD_H_ | 278 #endif // IOS_WEB_PUBLIC_WEB_THREAD_H_ |
OLD | NEW |