diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-04 14:17:57 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-05 10:05:06 +0000 |
commit | 39d357e3248f80abea0159765ff39554affb40db (patch) | |
tree | aba0e6bfb76de0244bba0f5fdbd64b830dd6e621 /chromium/content/browser/browser_thread_impl.h | |
parent | 87778abf5a1f89266f37d1321b92a21851d8244d (diff) | |
download | qtwebengine-chromium-39d357e3248f80abea0159765ff39554affb40db.tar.gz |
BASELINE: Update Chromium to 55.0.2883.105
And updates ninja to 1.7.2
Change-Id: I20d43c737f82764d857ada9a55586901b18b9243
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/browser/browser_thread_impl.h')
-rw-r--r-- | chromium/content/browser/browser_thread_impl.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/chromium/content/browser/browser_thread_impl.h b/chromium/content/browser/browser_thread_impl.h index eebe5b019ff..e86f4ec907a 100644 --- a/chromium/content/browser/browser_thread_impl.h +++ b/chromium/content/browser/browser_thread_impl.h @@ -5,6 +5,7 @@ #ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ +#include "base/threading/platform_thread.h" #include "base/threading/thread.h" #include "content/common/content_export.h" #include "content/public/browser/browser_thread.h" @@ -25,13 +26,15 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread, base::MessageLoop* message_loop); ~BrowserThreadImpl() override; + bool Start(); bool StartWithOptions(const Options& options); + bool StartAndWaitForTesting(); static void ShutdownThreadPool(); protected: void Init() override; - void Run(base::MessageLoop* message_loop) override; + void Run(base::RunLoop* run_loop) override; void CleanUp() override; private: @@ -42,13 +45,13 @@ class CONTENT_EXPORT BrowserThreadImpl : public 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(base::MessageLoop* message_loop); - void DBThreadRun(base::MessageLoop* message_loop); - void FileThreadRun(base::MessageLoop* message_loop); - void FileUserBlockingThreadRun(base::MessageLoop* message_loop); - void ProcessLauncherThreadRun(base::MessageLoop* message_loop); - void CacheThreadRun(base::MessageLoop* message_loop); - void IOThreadRun(base::MessageLoop* message_loop); + void UIThreadRun(base::RunLoop* run_loop); + void DBThreadRun(base::RunLoop* run_loop); + void FileThreadRun(base::RunLoop* run_loop); + void FileUserBlockingThreadRun(base::RunLoop* run_loop); + void ProcessLauncherThreadRun(base::RunLoop* run_loop); + void CacheThreadRun(base::RunLoop* run_loop); + void IOThreadRun(base::RunLoop* run_loop); static bool PostTaskHelper( BrowserThread::ID identifier, |