Index: base/timer/timer.h |
diff --git a/base/timer/timer.h b/base/timer/timer.h |
index 6d282ee8e7ac84f3d6f5757650c08be70463f9e6..4ef2f456395d5f4b44ebaedbcb06145f6c30cf5f 100644 |
--- a/base/timer/timer.h |
+++ b/base/timer/timer.h |
@@ -111,8 +111,14 @@ class BASE_EXPORT Timer { |
TimeDelta delay, |
const base::Closure& user_task); |
+ void set_user_task(const Closure& task) { user_task_ = task; } |
+ void set_desired_run_time(TimeTicks desired) { desired_run_time_ = desired; } |
+ void set_is_running(bool running) { is_running_ = running; } |
+ |
+ const tracked_objects::Location& posted_from() const { return posted_from_; } |
bool retain_user_task() const { return retain_user_task_; } |
bool is_repeating() const { return is_repeating_; } |
+ bool is_running() const { return is_running_; } |
private: |
friend class BaseTimerTaskInternal; |