| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef BASE_TIMER_MOCK_TIMER_H_ | 5 #ifndef BASE_TIMER_MOCK_TIMER_H_ |
| 6 #define BASE_TIMER_MOCK_TIMER_H_ | 6 #define BASE_TIMER_MOCK_TIMER_H_ |
| 7 | 7 |
| 8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 void Fire(); | 31 void Fire(); |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 base::Closure user_task_; | 34 base::Closure user_task_; |
| 35 TimeDelta delay_; | 35 TimeDelta delay_; |
| 36 bool is_running_; | 36 bool is_running_; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace base | 39 } // namespace base |
| 40 | 40 |
| 41 #endif // !BASE_TIMER_MOCK_TIMER_H_ | 41 #endif // BASE_TIMER_MOCK_TIMER_H_ |
| OLD | NEW |