fixup! Implement powerMonitor 'shutdown' event for Linux.

This commit is contained in:
Thiago de Arruda 2017-12-21 08:12:25 -03:00 committed by Cheng Zhao
parent 176c03fa15
commit e0e7dd2a8f
2 changed files with 6 additions and 9 deletions

View file

@ -39,6 +39,7 @@ class PowerObserverLinux : public base::PowerObserver {
scoped_refptr<dbus::ObjectProxy> logind_;
std::string lock_owner_name_;
base::ScopedFD sleep_lock_;
base::ScopedFD shutdown_lock_;
base::WeakPtrFactory<PowerObserverLinux> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PowerObserverLinux);
};