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

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

Issue 1550503002: Switch to standard integer types in base/threading/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/threading/worker_pool_posix.h ('k') | base/threading/worker_pool_posix_unittest.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/worker_pool_posix.h" 5 #include "base/threading/worker_pool_posix.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
12 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
13 #include "base/threading/platform_thread.h" 16 #include "base/threading/platform_thread.h"
14 #include "base/threading/thread_local.h" 17 #include "base/threading/thread_local.h"
15 #include "base/threading/worker_pool.h" 18 #include "base/threading/worker_pool.h"
16 #include "base/trace_event/trace_event.h" 19 #include "base/trace_event/trace_event.h"
17 #include "base/tracked_objects.h" 20 #include "base/tracked_objects.h"
18 21
19 using tracked_objects::TrackedTime; 22 using tracked_objects::TrackedTime;
20 23
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 return PendingTask(FROM_HERE, base::Closure()); 187 return PendingTask(FROM_HERE, base::Closure());
185 } 188 }
186 } 189 }
187 190
188 PendingTask pending_task = pending_tasks_.front(); 191 PendingTask pending_task = pending_tasks_.front();
189 pending_tasks_.pop(); 192 pending_tasks_.pop();
190 return pending_task; 193 return pending_task;
191 } 194 }
192 195
193 } // namespace base 196 } // namespace base
OLDNEW
« no previous file with comments | « base/threading/worker_pool_posix.h ('k') | base/threading/worker_pool_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698