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
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=178886