summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_loop.h')
-rw-r--r--base/message_loop.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/message_loop.h b/base/message_loop.h
index efdb5d7..babc17a 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -199,8 +199,9 @@ class MessageLoop : public base::MessagePump::Delegate {
return loop;
}
- // Returns the TimerManager object for the current thread.
- base::TimerManager* timer_manager() { return &timer_manager_; }
+ // Returns the TimerManager object for the current thread. This getter is
+ // deprecated. Please use OneShotTimer or RepeatingTimer instead.
+ base::TimerManager* timer_manager_deprecated() { return &timer_manager_; }
// Enables or disables the recursive task processing. This happens in the case
// of recursive message loops. Some unwanted message loop may occurs when