diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-12 14:07:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-17 10:29:26 +0000 |
commit | ec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch) | |
tree | 25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/content/browser/browser_thread_impl.h | |
parent | bb09965444b5bb20b096a291445170876225268d (diff) | |
download | qtwebengine-chromium-ec02ee4181c49b61fce1c8fb99292dbb8139cc90.tar.gz |
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/content/browser/browser_thread_impl.h')
-rw-r--r-- | chromium/content/browser/browser_thread_impl.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/chromium/content/browser/browser_thread_impl.h b/chromium/content/browser/browser_thread_impl.h index d4bd3c944eb..51adc53d063 100644 --- a/chromium/content/browser/browser_thread_impl.h +++ b/chromium/content/browser/browser_thread_impl.h @@ -5,12 +5,23 @@ #ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ +#include "base/callback.h" #include "base/memory/ref_counted.h" #include "base/single_thread_task_runner.h" #include "base/threading/thread.h" +#include "base/time/time.h" #include "content/common/content_export.h" #include "content/public/browser/browser_thread.h" +namespace base { +class MessageLoop; +class RunLoop; +} + +namespace tracked_objects { +class Location; +} + namespace content { // Very few users should use this directly. To mock BrowserThreads, tests should @@ -74,12 +85,11 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread, void CacheThreadRun(base::RunLoop* run_loop); void IOThreadRun(base::RunLoop* run_loop); - static bool PostTaskHelper( - BrowserThread::ID identifier, - const tracked_objects::Location& from_here, - const base::Closure& task, - base::TimeDelta delay, - bool nestable); + static bool PostTaskHelper(BrowserThread::ID identifier, + const tracked_objects::Location& from_here, + base::OnceClosure task, + base::TimeDelta delay, + bool nestable); // Common initialization code for the constructors. void Initialize(); |