1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27

base / timer / hi_res_timer_manager_posix.cc [blame]

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/timer/hi_res_timer_manager.h"

// On POSIX we don't need to do anything special with the system timer.

namespace base {

HighResolutionTimerManager::HighResolutionTimerManager()
    : hi_res_clock_available_(false) {
}

HighResolutionTimerManager::~HighResolutionTimerManager() = default;

void HighResolutionTimerManager::OnBatteryPowerStatusChange(
    PowerStateObserver::BatteryPowerStatus battery_power_status) {}

void HighResolutionTimerManager::OnSuspend() {}

void HighResolutionTimerManager::OnResume() {}

void HighResolutionTimerManager::UseHiResClock(bool use) {
}

}  // namespace base