OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/timer/timer.h" | 5 #include "base/timer/timer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 if (is_repeating_) | 208 if (is_repeating_) |
209 PostNewScheduledTask(delay_); | 209 PostNewScheduledTask(delay_); |
210 else | 210 else |
211 Stop(); | 211 Stop(); |
212 | 212 |
213 task.Run(); | 213 task.Run(); |
214 | 214 |
215 // No more member accesses here: *this could be deleted at this point. | 215 // No more member accesses here: *this could be deleted at this point. |
216 } | 216 } |
217 | 217 |
| 218 void DelayTimer::Reset() { |
| 219 Timer::Reset(); |
| 220 } |
| 221 |
218 } // namespace base | 222 } // namespace base |
OLD | NEW |