mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
28 lines
736 B
C++
28 lines
736 B
C++
|
// 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() = default;
|
||
|
|
||
|
void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
|
||
|
}
|
||
|
|
||
|
void HighResolutionTimerManager::OnSuspend() {}
|
||
|
|
||
|
void HighResolutionTimerManager::OnResume() {}
|
||
|
|
||
|
void HighResolutionTimerManager::UseHiResClock(bool use) {
|
||
|
}
|
||
|
|
||
|
} // namespace base
|