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 #include "base/threading/sequenced_worker_pool.h" | 5 #include "base/threading/sequenced_worker_pool.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "base/task_scheduler/task_scheduler.h" | 31 #include "base/task_scheduler/task_scheduler.h" |
32 #include "base/threading/platform_thread.h" | 32 #include "base/threading/platform_thread.h" |
33 #include "base/threading/simple_thread.h" | 33 #include "base/threading/simple_thread.h" |
34 #include "base/threading/thread_local.h" | 34 #include "base/threading/thread_local.h" |
35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
36 #include "base/threading/thread_task_runner_handle.h" | 36 #include "base/threading/thread_task_runner_handle.h" |
37 #include "base/time/time.h" | 37 #include "base/time/time.h" |
38 #include "base/trace_event/heap_profiler.h" | 38 #include "base/trace_event/heap_profiler.h" |
39 #include "base/trace_event/trace_event.h" | 39 #include "base/trace_event/trace_event.h" |
40 #include "base/tracked_objects.h" | 40 #include "base/tracked_objects.h" |
| 41 #include "base/tracking_info.h" |
41 #include "build/build_config.h" | 42 #include "build/build_config.h" |
42 | 43 |
43 #if defined(OS_MACOSX) | 44 #if defined(OS_MACOSX) |
44 #include "base/mac/scoped_nsautorelease_pool.h" | 45 #include "base/mac/scoped_nsautorelease_pool.h" |
45 #elif defined(OS_WIN) | 46 #elif defined(OS_WIN) |
46 #include "base/win/scoped_com_initializer.h" | 47 #include "base/win/scoped_com_initializer.h" |
47 #endif | 48 #endif |
48 | 49 |
49 #if !defined(OS_NACL) | 50 #if !defined(OS_NACL) |
50 #include "base/metrics/histogram_macros.h" | 51 #include "base/metrics/histogram_macros.h" |
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 bool SequencedWorkerPool::IsShutdownInProgress() { | 1614 bool SequencedWorkerPool::IsShutdownInProgress() { |
1614 return inner_->IsShutdownInProgress(); | 1615 return inner_->IsShutdownInProgress(); |
1615 } | 1616 } |
1616 | 1617 |
1617 bool SequencedWorkerPool::IsRunningSequenceOnCurrentThread( | 1618 bool SequencedWorkerPool::IsRunningSequenceOnCurrentThread( |
1618 SequenceToken sequence_token) const { | 1619 SequenceToken sequence_token) const { |
1619 return inner_->IsRunningSequenceOnCurrentThread(sequence_token); | 1620 return inner_->IsRunningSequenceOnCurrentThread(sequence_token); |
1620 } | 1621 } |
1621 | 1622 |
1622 } // namespace base | 1623 } // namespace base |
OLD | NEW |