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_THREADING_SEQUENCED_WORKER_POOL_H_ | 5 #ifndef BASE_THREADING_SEQUENCED_WORKER_POOL_H_ |
6 #define BASE_THREADING_SEQUENCED_WORKER_POOL_H_ | 6 #define BASE_THREADING_SEQUENCED_WORKER_POOL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <cstddef> | 10 #include <cstddef> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/base_export.h" | 13 #include "base/base_export.h" |
12 #include "base/basictypes.h" | |
13 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
16 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
17 #include "base/task_runner.h" | 19 #include "base/task_runner.h" |
18 | 20 |
19 namespace tracked_objects { | 21 namespace tracked_objects { |
20 class Location; | 22 class Location; |
21 } // namespace tracked_objects | 23 } // namespace tracked_objects |
22 | 24 |
23 namespace base { | 25 namespace base { |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 // Avoid pulling in too many headers by putting (almost) everything | 361 // Avoid pulling in too many headers by putting (almost) everything |
360 // into |inner_|. | 362 // into |inner_|. |
361 const scoped_ptr<Inner> inner_; | 363 const scoped_ptr<Inner> inner_; |
362 | 364 |
363 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPool); | 365 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPool); |
364 }; | 366 }; |
365 | 367 |
366 } // namespace base | 368 } // namespace base |
367 | 369 |
368 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_H_ | 370 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_H_ |
OLD | NEW |