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

Unified Diff: base/threading/thread_id_name_manager.h

Issue 1207823004: PlatformThreadHandle: remove public id() interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebase to show diff from 1193303002) Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: base/threading/thread_id_name_manager.h
diff --git a/base/threading/thread_id_name_manager.h b/base/threading/thread_id_name_manager.h
index 927d25fe1e8eda060393eba71d1af29e531bf56c..c01ca783081c1239409a50bbc6c49fb8ca6d047c 100644
--- a/base/threading/thread_id_name_manager.h
+++ b/base/threading/thread_id_name_manager.h
@@ -24,7 +24,7 @@ class BASE_EXPORT ThreadIdNameManager {
static const char* GetDefaultInternedString();
// Register the mapping between a thread |id| and |handle|.
- void RegisterThread(PlatformThreadHandle::Handle handle, PlatformThreadId id);
+ void RegisterThread(PlatformThreadHandle handle, PlatformThreadId id);
// Set the name for the given id.
void SetName(PlatformThreadId id, const std::string& name);
@@ -33,7 +33,7 @@ class BASE_EXPORT ThreadIdNameManager {
const char* GetName(PlatformThreadId id);
// Remove the name for the given id.
- void RemoveName(PlatformThreadHandle::Handle handle, PlatformThreadId id);
+ void RemoveName(PlatformThreadHandle handle, PlatformThreadId id);
private:
friend struct DefaultSingletonTraits<ThreadIdNameManager>;

Powered by Google App Engine
This is Rietveld 408576698