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

Unified Diff: components/timers/alarm_timer.h

Issue 685503006: Add accessor for can_wake_from_suspend_ in AlarmTimer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/timers/alarm_timer.h
diff --git a/components/timers/alarm_timer.h b/components/timers/alarm_timer.h
index 29eebc8a62186bb8f0979cfc13df062676b37d43..987369b71ff03fcb4b05183d75100a6e0c64d7e1 100644
--- a/components/timers/alarm_timer.h
+++ b/components/timers/alarm_timer.h
@@ -72,6 +72,8 @@ class AlarmTimer : public base::Timer,
// that the user task should be run.
void OnTimerFired();
+ bool can_wake_from_suspend() { return can_wake_from_suspend_; }
Daniel Erat 2014/10/30 02:51:21 nit: i think that inline methods usually come righ
Chirantan Ekbote 2014/10/30 20:41:37 Done.
+
private:
// Initializes the timer with the appropriate delegate.
void Init();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698