Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2574)

Unified Diff: base/timer/hi_res_timer_manager_posix.cc

Issue 2951413003: Add UMA for High Resolution Timer Usage (Closed)
Patch Set: Added suspend / resume logic Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/timer/hi_res_timer_manager_posix.cc
diff --git a/base/timer/hi_res_timer_manager_posix.cc b/base/timer/hi_res_timer_manager_posix.cc
index d2f152c8c0120af4cc2202d3b571c0410bc85239..89012b9f61f80398fb02beee09a41947e79d4c2e 100644
--- a/base/timer/hi_res_timer_manager_posix.cc
+++ b/base/timer/hi_res_timer_manager_posix.cc
@@ -18,6 +18,10 @@ HighResolutionTimerManager::~HighResolutionTimerManager() {
void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
}
+void HighResolutionTimerManager::OnSuspend() {}
+
+void HighResolutionTimerManager::OnResume() {}
+
void HighResolutionTimerManager::UseHiResClock(bool use) {
}

Powered by Google App Engine
This is Rietveld 408576698