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

Side by Side Diff: base/threading/thread_id_name_manager.h

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/thread_collision_warner_unittest.cc ('k') | base/threading/thread_local.h » ('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 #ifndef BASE_THREADING_THREAD_ID_NAME_MANAGER_H_ 5 #ifndef BASE_THREADING_THREAD_ID_NAME_MANAGER_H_
6 #define BASE_THREADING_THREAD_ID_NAME_MANAGER_H_ 6 #define BASE_THREADING_THREAD_ID_NAME_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/base_export.h" 11 #include "base/base_export.h"
12 #include "base/basictypes.h" 12 #include "base/macros.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 15
16 namespace base { 16 namespace base {
17 17
18 template <typename T> 18 template <typename T>
19 struct DefaultSingletonTraits; 19 struct DefaultSingletonTraits;
20 20
21 class BASE_EXPORT ThreadIdNameManager { 21 class BASE_EXPORT ThreadIdNameManager {
22 public: 22 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Treat the main process specially as there is no PlatformThreadHandle. 59 // Treat the main process specially as there is no PlatformThreadHandle.
60 std::string* main_process_name_; 60 std::string* main_process_name_;
61 PlatformThreadId main_process_id_; 61 PlatformThreadId main_process_id_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ThreadIdNameManager); 63 DISALLOW_COPY_AND_ASSIGN(ThreadIdNameManager);
64 }; 64 };
65 65
66 } // namespace base 66 } // namespace base
67 67
68 #endif // BASE_THREADING_THREAD_ID_NAME_MANAGER_H_ 68 #endif // BASE_THREADING_THREAD_ID_NAME_MANAGER_H_
OLDNEW
« no previous file with comments | « base/threading/thread_collision_warner_unittest.cc ('k') | base/threading/thread_local.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698