naiveproxy/base/timer/hi_res_timer_manager_posix.cc

29 lines
729 B
C++
Raw Permalink Normal View History

2018-01-28 19:30:36 +03:00
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// 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() {
}
void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
}
void HighResolutionTimerManager::OnSuspend() {}
void HighResolutionTimerManager::OnResume() {}
void HighResolutionTimerManager::UseHiResClock(bool use) {
}
} // namespace base