-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move grace period check from RebootNotificationsScheduler
go/cros-reboot-command-dd Move grace period check to DeviceScheduledRebootHandler and make it configurable. The RebootNotificationsScheduler is about to be used for reboot remote command which does not have grace time. Only the DeviceScheduledReboot policy needs the grace period check. Bug: b:225913691 Test: unit_tests --gtest_filter=DeviceScheduledRebootHandlerTest.* Test: unit_tests --gtest_filter=ScheduledRebootTimerFailureTest.* Test: unit_tests --gtest_filter=ScheduledRebootDelayedServiceTest.* Change-Id: I2fafc36cfdabeca6775568a6e417f4d60ad07f8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4132848 Reviewed-by: Pavol Marko <pmarko@chromium.org> Reviewed-by: Sanja Perisic <sanjaperisic@chromium.org> Reviewed-by: Ben Franz <bfranz@chromium.org> Commit-Queue: Artem Sumaneev <asumaneev@google.com> Cr-Commit-Position: refs/heads/main@{#1108274}
- Loading branch information
Artem Sumaneev
authored and
Chromium LUCI CQ
committed
Feb 22, 2023
1 parent
76cd6e3
commit 9604473
Showing
10 changed files
with
111 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.