Chromium Code Reviews| Index: app/hi_res_timer_manager.h |
| =================================================================== |
| --- app/hi_res_timer_manager.h (revision 62903) |
| +++ app/hi_res_timer_manager.h (working copy) |
| @@ -18,6 +18,9 @@ |
| // SystemMonitor::PowerObserver: |
| void OnPowerStateChange(bool on_battery_power); |
| + // Returns true if the hi resolution clock could be used right now. |
| + bool using_hi_res_clock() const { return hi_res_clock_used_; } |
| + |
| private: |
| // Enable or disable the faster multimedia timer. |
| void UseHiResClock(bool use); |