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/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 { |
| 10 |
9 HighResolutionTimerManager::HighResolutionTimerManager() | 11 HighResolutionTimerManager::HighResolutionTimerManager() |
10 : hi_res_clock_available_(false) { | 12 : hi_res_clock_available_(false) { |
11 } | 13 } |
12 | 14 |
13 HighResolutionTimerManager::~HighResolutionTimerManager() { | 15 HighResolutionTimerManager::~HighResolutionTimerManager() { |
14 } | 16 } |
15 | 17 |
16 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { | 18 void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { |
17 } | 19 } |
18 | 20 |
19 void HighResolutionTimerManager::UseHiResClock(bool use) { | 21 void HighResolutionTimerManager::UseHiResClock(bool use) { |
20 } | 22 } |
| 23 |
| 24 } // namespace base |
OLD | NEW |