Index: content/browser/browser_thread_impl.h |
diff --git a/content/browser/browser_thread_impl.h b/content/browser/browser_thread_impl.h |
index d4bd3c944ebabe162e0c40e16e0650cc290fe91a..b4a843999bc2c78f1842eb73b37839ac9a5ea8f5 100644 |
--- a/content/browser/browser_thread_impl.h |
+++ b/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::Closure task, |
+ base::TimeDelta delay, |
+ bool nestable); |
// Common initialization code for the constructors. |
void Initialize(); |