summaryrefslogtreecommitdiff
path: root/common/error_code.h
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@google.com>2016-03-29 18:03:53 -0700
committerKevin Cernekee <cernekee@google.com>2016-03-30 23:35:07 +0000
commit2494e28b88a819618c6325a5b081ef7de28549ee (patch)
treecfdf329c8fd97cdfca11bb8edf3f7febd790c6c0 /common/error_code.h
parentd3251ef5abddc1c42fa0910191831454264e3cda (diff)
Skip non-critical updates during OOBE update check
If the system has not yet completed OOBE, and Omaha returns a response with an empty deadline field, avoid initiating a background update because doing so may violate an enterprise policy that gets pushed down post-enrollment. Bug: None BUG=chromium:587101 TEST=`FEATURES=test emerge-link chromeos-base/update_engine` TEST=powerwash, install lsb-release file from an old stable build, repeat OOBE, verify that download is skipped via logs, then verify that update proceeds after logging into a standard gmail account Change-Id: I6e6fae02c609b2763abc6e9960bf6d87dd3534e2
Diffstat (limited to 'common/error_code.h')
-rw-r--r--common/error_code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/error_code.h b/common/error_code.h
index 32155f27..e08ec460 100644
--- a/common/error_code.h
+++ b/common/error_code.h
@@ -72,6 +72,7 @@ enum class ErrorCode : int {
kOmahaRequestXMLHasEntityDecl = 46,
kFilesystemVerifierError = 47,
kUserCanceled = 48,
+ kNonCriticalUpdateInOOBE = 49,
// VERY IMPORTANT! When adding new error codes:
//