| 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 #pragma once | |
| 8 | 7 |
| 9 #include <cstddef> | 8 #include <cstddef> |
| 10 #include <string> | 9 #include <string> |
| 11 | 10 |
| 12 #include "base/base_export.h" | 11 #include "base/base_export.h" |
| 13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 14 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/task_runner.h" | 16 #include "base/task_runner.h" |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 // Avoid pulling in too many headers by putting (almost) everything | 274 // Avoid pulling in too many headers by putting (almost) everything |
| 276 // into |inner_|. | 275 // into |inner_|. |
| 277 const scoped_ptr<Inner> inner_; | 276 const scoped_ptr<Inner> inner_; |
| 278 | 277 |
| 279 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPool); | 278 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPool); |
| 280 }; | 279 }; |
| 281 | 280 |
| 282 } // namespace base | 281 } // namespace base |
| 283 | 282 |
| 284 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_H_ | 283 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_H_ |
| OLD | NEW |