From ec02ee4181c49b61fce1c8fb99292dbb8139cc90 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 12 Jul 2017 14:07:37 +0200 Subject: BASELINE: Update Chromium to 59.0.3071.134 Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor --- chromium/content/browser/browser_thread_impl.h | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'chromium/content/browser/browser_thread_impl.h') 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(); -- cgit v1.2.1