| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/hi_res_timer_manager.h" | 5 #include "base/timer/hi_res_timer_manager.h" |
| 6 | 6 |
| 7 // On POSIX we don't need to do anything special with the system timer. | 7 // On POSIX we don't need to do anything special with the system timer. |
| 8 | 8 |
| 9 namespace base { | 9 namespace base { |
| 10 | 10 |
| 11 HighResolutionTimerManager::HighResolutionTimerManager() | 11 HighResolutionTimerManager::HighResolutionTimerManager() |
| 12 : hi_res_clock_available_(false) { | 12 : hi_res_clock_available_(false) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 HighResolutionTimerManager::~HighResolutionTimerManager() { | 15 HighResolutionTimerManager::~HighResolutionTimerManager() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { | 18 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { |
| 19 } | 19 } |
| 20 | 20 |
| 21 void HighResolutionTimerManager::OnSuspend() {} |
| 22 |
| 23 void HighResolutionTimerManager::OnResume() {} |
| 24 |
| 21 void HighResolutionTimerManager::UseHiResClock(bool use) { | 25 void HighResolutionTimerManager::UseHiResClock(bool use) { |
| 22 } | 26 } |
| 23 | 27 |
| 24 } // namespace base | 28 } // namespace base |
| OLD | NEW |