Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: base/threading/sequenced_worker_pool.cc

Issue 893593002: Mechanical rename of tracing includes for /base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/trace_to_file.cc ('k') | base/threading/worker_pool_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <list> 7 #include <list>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/atomic_sequence_num.h" 13 #include "base/atomic_sequence_num.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/critical_closure.h" 16 #include "base/critical_closure.h"
17 #include "base/debug/trace_event.h"
18 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
19 #include "base/logging.h" 18 #include "base/logging.h"
20 #include "base/memory/linked_ptr.h" 19 #include "base/memory/linked_ptr.h"
21 #include "base/message_loop/message_loop_proxy.h" 20 #include "base/message_loop/message_loop_proxy.h"
22 #include "base/stl_util.h" 21 #include "base/stl_util.h"
23 #include "base/strings/stringprintf.h" 22 #include "base/strings/stringprintf.h"
24 #include "base/synchronization/condition_variable.h" 23 #include "base/synchronization/condition_variable.h"
25 #include "base/synchronization/lock.h" 24 #include "base/synchronization/lock.h"
26 #include "base/threading/platform_thread.h" 25 #include "base/threading/platform_thread.h"
27 #include "base/threading/simple_thread.h" 26 #include "base/threading/simple_thread.h"
28 #include "base/threading/thread_local.h" 27 #include "base/threading/thread_local.h"
29 #include "base/threading/thread_restrictions.h" 28 #include "base/threading/thread_restrictions.h"
30 #include "base/time/time.h" 29 #include "base/time/time.h"
30 #include "base/trace_event/trace_event.h"
31 #include "base/tracked_objects.h" 31 #include "base/tracked_objects.h"
32 32
33 #if defined(OS_MACOSX) 33 #if defined(OS_MACOSX)
34 #include "base/mac/scoped_nsautorelease_pool.h" 34 #include "base/mac/scoped_nsautorelease_pool.h"
35 #elif defined(OS_WIN) 35 #elif defined(OS_WIN)
36 #include "base/win/scoped_com_initializer.h" 36 #include "base/win/scoped_com_initializer.h"
37 #endif 37 #endif
38 38
39 #if !defined(OS_NACL) 39 #if !defined(OS_NACL)
40 #include "base/metrics/histogram.h" 40 #include "base/metrics/histogram.h"
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 void SequencedWorkerPool::Shutdown(int max_new_blocking_tasks_after_shutdown) { 1273 void SequencedWorkerPool::Shutdown(int max_new_blocking_tasks_after_shutdown) {
1274 DCHECK(constructor_message_loop_->BelongsToCurrentThread()); 1274 DCHECK(constructor_message_loop_->BelongsToCurrentThread());
1275 inner_->Shutdown(max_new_blocking_tasks_after_shutdown); 1275 inner_->Shutdown(max_new_blocking_tasks_after_shutdown);
1276 } 1276 }
1277 1277
1278 bool SequencedWorkerPool::IsShutdownInProgress() { 1278 bool SequencedWorkerPool::IsShutdownInProgress() {
1279 return inner_->IsShutdownInProgress(); 1279 return inner_->IsShutdownInProgress();
1280 } 1280 }
1281 1281
1282 } // namespace base 1282 } // namespace base
OLDNEW
« no previous file with comments | « base/test/trace_to_file.cc ('k') | base/threading/worker_pool_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698