summaryrefslogtreecommitdiffstats
path: root/app/hi_res_timer_manager_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/hi_res_timer_manager_posix.cc')
-rw-r--r--app/hi_res_timer_manager_posix.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/hi_res_timer_manager_posix.cc b/app/hi_res_timer_manager_posix.cc
new file mode 100644
index 0000000..1398449
--- /dev/null
+++ b/app/hi_res_timer_manager_posix.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2009 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 "app/hi_res_timer_manager.h"
+
+// On POSIX we don't need to do anything special with the system timer.
+
+HighResolutionTimerManager::HighResolutionTimerManager()
+ : hi_res_clock_used_(false) {
+}
+
+HighResolutionTimerManager::~HighResolutionTimerManager() {
+}
+
+void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
+}
+
+void HighResolutionTimerManager::UseHiResClock(bool use) {
+}