| 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_TASK_RUNNER_H_ | 5 #ifndef BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ |
| 6 #define BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ | 6 #define BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 10 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 13 #include "base/sequenced_task_runner.h" | 12 #include "base/sequenced_task_runner.h" |
| 14 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
| 15 #include "base/time.h" | 14 #include "base/time.h" |
| 16 | 15 |
| 17 namespace tracked_objects { | 16 namespace tracked_objects { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const scoped_refptr<SequencedWorkerPool> pool_; | 53 const scoped_refptr<SequencedWorkerPool> pool_; |
| 55 | 54 |
| 56 const SequencedWorkerPool::SequenceToken token_; | 55 const SequencedWorkerPool::SequenceToken token_; |
| 57 | 56 |
| 58 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPoolTaskRunner); | 57 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPoolTaskRunner); |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace base | 60 } // namespace base |
| 62 | 61 |
| 63 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ | 62 #endif // BASE_THREADING_SEQUENCED_WORKER_POOL_TASK_RUNNER_H_ |
| OLD | NEW |