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

Unified Diff: ui/chromeos/user_activity_power_manager_notifier.h

Issue 2639703004: mus: Forward user activity from window server to detector. (Closed)
Patch Set: address jamescook@'s comments Created 3 years, 11 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 | « ui/base/user_activity/user_activity_detector_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/user_activity_power_manager_notifier.h
diff --git a/ui/chromeos/user_activity_power_manager_notifier.h b/ui/chromeos/user_activity_power_manager_notifier.h
index 123343c5f22dc6aec97e5cb8836a731c1c559b6d..2020d377d0cc44fdbc9d2425fc8c3123a1d000b8 100644
--- a/ui/chromeos/user_activity_power_manager_notifier.h
+++ b/ui/chromeos/user_activity_power_manager_notifier.h
@@ -15,10 +15,12 @@ namespace ui {
class UserActivityDetector;
-// Notifies the power manager when the user is active.
+// Notifies the power manager via D-Bus when the user is active.
class UI_CHROMEOS_EXPORT UserActivityPowerManagerNotifier
: public UserActivityObserver {
public:
+ // Registers and unregisters itself as an observer of |detector| on
+ // construction and destruction.
explicit UserActivityPowerManagerNotifier(UserActivityDetector* detector);
~UserActivityPowerManagerNotifier() override;
« no previous file with comments | « ui/base/user_activity/user_activity_detector_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698