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.h" | 5 #include "base/timer.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
10 #include "base/threading/platform_thread.h" | 10 #include "base/threading/platform_thread.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 PostNewScheduledTask(delay_); | 177 PostNewScheduledTask(delay_); |
178 else | 178 else |
179 Stop(); | 179 Stop(); |
180 | 180 |
181 task.Run(); | 181 task.Run(); |
182 | 182 |
183 // No more member accesses here: *this could be deleted at this point. | 183 // No more member accesses here: *this could be deleted at this point. |
184 } | 184 } |
185 | 185 |
186 } // namespace base | 186 } // namespace base |
OLD | NEW |