chore: bump chromium to 92.0.4499.0 (master) (#29046)
This commit is contained in:
parent
cbba602eae
commit
d5f2eb5a81
56 changed files with 162 additions and 148 deletions
|
@ -115,7 +115,8 @@ void PowerObserverLinux::UnblockShutdown() {
|
|||
shutdown_lock_.reset();
|
||||
}
|
||||
|
||||
void PowerObserverLinux::SetShutdownHandler(base::Callback<bool()> handler) {
|
||||
void PowerObserverLinux::SetShutdownHandler(
|
||||
base::RepeatingCallback<bool()> handler) {
|
||||
// In order to delay system shutdown when e.preventDefault() is invoked
|
||||
// on a powerMonitor 'shutdown' event, we need an org.freedesktop.login1
|
||||
// shutdown delay lock. For more details see the "Taking Delay Locks"
|
||||
|
|
|
@ -22,7 +22,7 @@ class PowerObserverLinux {
|
|||
explicit PowerObserverLinux(base::PowerSuspendObserver* suspend_observer);
|
||||
~PowerObserverLinux();
|
||||
|
||||
void SetShutdownHandler(base::Callback<bool()> should_shutdown);
|
||||
void SetShutdownHandler(base::RepeatingCallback<bool()> should_shutdown);
|
||||
|
||||
private:
|
||||
void BlockSleep();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue