|
Make Hands-Off Zero-Touch Enrollment compatibile with tests
Specifically, the automatic nature of Hands-Off Enrollment leads to
the DUT performing an update check after reboot which interferes
with autoupdate_EndToEndTest. This CL fixes that issue.
It does so by instructing the UpdateScreen to skip checking for updates
if both of the following conditions hold:
1. The previous update check initiated by the UpdateScreen did not result
in an update.
2. This previous update check occurred during the last hour.
BUG= chromium:710716
TEST=unit test
Review-Url: https://codereview.chromium.org/2894783003
Cr-Commit-Position: refs/heads/master@{#473388}
Committed: https://chromium.googlesource.com/chromium/src/+/f097331c78cf162157bc2e62db0b2dd5fba85c83
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+489 lines, -52 lines) |
Patch |
|
M |
chrome/browser/chromeos/BUILD.gn
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/hats/hats_notification_controller_unittest.cc
|
View
|
|
2 chunks |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
|
View
|
|
4 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/screens/eula_screen.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/screens/network_screen.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/screens/screen_exit_code.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/screens/update_screen.h
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/screens/update_screen.cc
|
View
|
|
3 chunks |
+44 lines, -5 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/login/screens/update_screen_unittest.cc
|
View
|
1
|
1 chunk |
+303 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/startup_utils.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/startup_utils.cc
|
View
|
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/wizard_controller.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/wizard_controller.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/pref_names.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/pref_names.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
chromeos/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
chromeos/network/portal_detector/mock_network_portal_detector.h
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
chromeos/network/portal_detector/mock_network_portal_detector.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/portal_detector/network_portal_detector.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (7 generated)
|