Chromium Code Reviews| Index: base/tracked_objects.h |
| diff --git a/base/tracked_objects.h b/base/tracked_objects.h |
| index 168b17db045a429234c3ae403622a9217adf3ad8..7bf2cd0c6cfe66682e5c9df81cee05ea366bb2b4 100644 |
| --- a/base/tracked_objects.h |
| +++ b/base/tracked_objects.h |
| @@ -452,7 +452,8 @@ class BASE_EXPORT ThreadData { |
| // This is used by all threads that have names, and should be explicitly |
| // set *before* any births on the threads have taken place. It is generally |
| // only used by the message loop, which has a well defined thread name. |
|
jar (doing other things)
2016/04/20 04:34:51
This comment appears to state that this should *on
Zhenyu Shan
2016/05/04 23:33:03
Done.
I'm not very sure if I've understood you co
|
| - static void InitializeThreadContext(const std::string& suggested_name); |
| + static void InitializeThreadContext(const std::string& suggested_name, |
| + bool is_worker_thread = false); |
| // Using Thread Local Store, find the current instance for collecting data. |
| // If an instance does not exist, construct one (and remember it for use on |