fixup! Implement powerMonitor 'shutdown' event for Linux.
This commit is contained in:
parent
176c03fa15
commit
e0e7dd2a8f
2 changed files with 6 additions and 9 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue