Index: base/time.h |
diff --git a/base/time.h b/base/time.h |
index 0625bfb0e5dd17fc13d81f75ae5ee55568ae0171..beeca27e2639e75939c1b0dfa1d6dd86d895540e 100644 |
--- a/base/time.h |
+++ b/base/time.h |
@@ -228,6 +228,13 @@ class Time { |
#if defined(OS_WIN) |
static Time FromFileTime(FILETIME ft); |
FILETIME ToFileTime() const; |
+ |
+ // Monitor system power state and disable high resolution timer when we're |
+ // on battery. See time_win.cc for more details. |
+ static void StartSystemMonitorObserver(); |
+ |
+ // Enable high resolution timer unconditionally. Only for test code. |
+ static void EnableHiResClockForTests(); |
#endif |
// Converts an exploded structure representing either the local time or UTC |