From 7d342e882772e35c4e60e640f3501a84fd0a5bec Mon Sep 17 00:00:00 2001 From: "dsinclair@chromium.org" Date: Fri, 25 Jan 2013 20:41:19 +0000 Subject: Add ability to retrieve a thread_name given a thread_id. The work to add GPU tracing needs the ability to map from a thread_id back to a thread_name in order to allow us to have the correct display on the chrome://tracing page. We want to be able to output our traces without having to post to a thread to handle the output, and to have the GPU traces differentiated from the GPU-process which will be doing the tracing calls. BUG=111509 TEST=Added tests in base_unittests Review URL: https://chromiumcodereview.appspot.com/11438022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178886 0039d316-1c4b-4281-b951-d872f2087c98 --- base/base.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base/base.gyp') diff --git a/base/base.gyp b/base/base.gyp index efb94ef..f963cc2 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -338,8 +338,8 @@ 'prefs/overlay_user_pref_store.cc', 'prefs/overlay_user_pref_store.h', 'prefs/persistent_pref_store.h', - 'prefs/pref_observer.h', 'prefs/pref_notifier.h', + 'prefs/pref_observer.h', 'prefs/pref_store.cc', 'prefs/pref_store.h', 'prefs/pref_value_map.cc', @@ -552,6 +552,7 @@ 'threading/simple_thread_unittest.cc', 'threading/thread_checker_unittest.cc', 'threading/thread_collision_warner_unittest.cc', + 'threading/thread_id_name_manager_unittest.cc', 'threading/thread_local_storage_unittest.cc', 'threading/thread_local_unittest.cc', 'threading/thread_unittest.cc', -- cgit v1.1