| Index: content/browser/browser_thread_impl.h
|
| ===================================================================
|
| --- content/browser/browser_thread_impl.h (revision 147800)
|
| +++ content/browser/browser_thread_impl.h (working copy)
|
| @@ -27,6 +27,7 @@
|
|
|
| protected:
|
| virtual void Init() OVERRIDE;
|
| + virtual void Run(MessageLoop* message_loop) OVERRIDE;
|
| virtual void CleanUp() OVERRIDE;
|
|
|
| private:
|
| @@ -35,6 +36,17 @@
|
| // the API cleaner. Therefore make BrowserThread a friend class.
|
| friend class BrowserThread;
|
|
|
| + // The following are unique function names that makes it possible to tell
|
| + // the thread id from the callstack alone in crash dumps.
|
| + void UIThreadRun(MessageLoop* message_loop);
|
| + void DBThreadRun(MessageLoop* message_loop);
|
| + void WebKitThreadRun(MessageLoop* message_loop);
|
| + void FileThreadRun(MessageLoop* message_loop);
|
| + void FileUserBlockingThreadRun(MessageLoop* message_loop);
|
| + void ProcessLauncherThreadRun(MessageLoop* message_loop);
|
| + void CacheThreadRun(MessageLoop* message_loop);
|
| + void IOThreadRun(MessageLoop* message_loop);
|
| +
|
| static bool PostTaskHelper(
|
| BrowserThread::ID identifier,
|
| const tracked_objects::Location& from_here,
|
|
|