hi_res_timer_manager_posix.cc 736 B

123456789101112131415161718192021222324252627
  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. #include "base/timer/hi_res_timer_manager.h"
  5. // On POSIX we don't need to do anything special with the system timer.
  6. namespace base {
  7. HighResolutionTimerManager::HighResolutionTimerManager()
  8. : hi_res_clock_available_(false) {
  9. }
  10. HighResolutionTimerManager::~HighResolutionTimerManager() = default;
  11. void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
  12. }
  13. void HighResolutionTimerManager::OnSuspend() {}
  14. void HighResolutionTimerManager::OnResume() {}
  15. void HighResolutionTimerManager::UseHiResClock(bool use) {
  16. }
  17. } // namespace base