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

Side by Side Diff: base/threading/platform_thread_win.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
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/platform_thread.h" 5 #include "base/threading/platform_thread.h"
6 6
7 #include <stddef.h>
8
7 #include "base/debug/alias.h" 9 #include "base/debug/alias.h"
8 #include "base/debug/profiler.h" 10 #include "base/debug/profiler.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/threading/thread_id_name_manager.h" 12 #include "base/threading/thread_id_name_manager.h"
11 #include "base/threading/thread_restrictions.h" 13 #include "base/threading/thread_restrictions.h"
12 #include "base/tracked_objects.h" 14 #include "base/tracked_objects.h"
13 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
14 #include "base/win/windows_version.h" 16 #include "base/win/windows_version.h"
15 17
16 namespace base { 18 namespace base {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 return ThreadPriority::REALTIME_AUDIO; 275 return ThreadPriority::REALTIME_AUDIO;
274 case THREAD_PRIORITY_ERROR_RETURN: 276 case THREAD_PRIORITY_ERROR_RETURN:
275 DPCHECK(false) << "GetThreadPriority error"; // Falls through. 277 DPCHECK(false) << "GetThreadPriority error"; // Falls through.
276 default: 278 default:
277 NOTREACHED() << "Unexpected priority: " << priority; 279 NOTREACHED() << "Unexpected priority: " << priority;
278 return ThreadPriority::NORMAL; 280 return ThreadPriority::NORMAL;
279 } 281 }
280 } 282 }
281 283
282 } // namespace base 284 } // namespace base
OLDNEW
« no previous file with comments | « base/threading/platform_thread_unittest.cc ('k') | base/threading/sequenced_task_runner_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698