Chromium Code Reviews| Index: base/threading/platform_thread.h |
| diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h |
| index 72da93bf56d4fc984c35c5f49ef2a69fd475be00..7e03f91861e35d26feac43a434b1f88a4716e549 100644 |
| --- a/base/threading/platform_thread.h |
| +++ b/base/threading/platform_thread.h |
| @@ -144,7 +144,7 @@ class BASE_EXPORT PlatformThread { |
| // Sets the thread name visible to debuggers/tools. This has no effect |
| // otherwise. |
| - static void SetName(const std::string& name); |
| + static void SetName(const std::string& name, bool is_worker_thread = false); |
|
dcheng
2016/04/01 10:52:30
Plumbing this bit through a function called SetNam
|
| // Gets the thread name, if previously set by SetName. |
| static const char* GetName(); |