diff options
Diffstat (limited to 'base/task.h')
-rw-r--r-- | base/task.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/task.h b/base/task.h index b609a1e..42277d4 100644 --- a/base/task.h +++ b/base/task.h @@ -14,6 +14,10 @@ #include "base/tracked.h" #include "base/tuple.h" +namespace base { +class TimerManager; +} + //------------------------------------------------------------------------------ // Base class of Task, where we store info to help MessageLoop handle PostTask() // elements of Task processing. @@ -56,7 +60,7 @@ class TaskBase : public tracked_objects::Tracked { } private: - friend class TimerManager; // To check is_owned_by_message_loop(). + friend class base::TimerManager; // To check is_owned_by_message_loop(). friend class MessageLoop; // To maintain posted_task_delay(). // Access methods used ONLY by friends in MessageLoop and TimerManager |