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 3 // found in the LICENSE file. 4 5 #include "base/timer/hi_res_timer_manager.h" 6 7 // On POSIX we don't need to do anything special with the system timer. 8 9 namespace base { 10 HighResolutionTimerManager()11HighResolutionTimerManager::HighResolutionTimerManager() 12 : hi_res_clock_available_(false) { 13 } 14 15 HighResolutionTimerManager::~HighResolutionTimerManager() = default; 16 OnPowerStateChange(bool on_battery_power)17void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) { 18 } 19 OnSuspend()20void HighResolutionTimerManager::OnSuspend() {} 21 OnResume()22void HighResolutionTimerManager::OnResume() {} 23 UseHiResClock(bool use)24void HighResolutionTimerManager::UseHiResClock(bool use) { 25 } 26 27 } // namespace base 28