diff options
Diffstat (limited to 'chrome/browser/chrome_thread.h')
-rw-r--r-- | chrome/browser/chrome_thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chrome_thread.h b/chrome/browser/chrome_thread.h index e890790..a8fe44b 100644 --- a/chrome/browser/chrome_thread.h +++ b/chrome/browser/chrome_thread.h @@ -114,6 +114,10 @@ class ChromeThread : public base::Thread { identifier, from_here, new ReleaseTask<T>(object)); } + // Callable on any thread. Returns whether the given ID corresponds to a well + // known thread. + static bool IsWellKnownThread(ID identifier); + // Callable on any thread. Returns whether you're currently on a particular // thread. static bool CurrentlyOn(ID identifier); |