diff options
Diffstat (limited to 'common/error_code_utils.cc')
-rw-r--r-- | common/error_code_utils.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/error_code_utils.cc b/common/error_code_utils.cc index ad4aeeb0..983d004d 100644 --- a/common/error_code_utils.cc +++ b/common/error_code_utils.cc @@ -144,8 +144,10 @@ string ErrorCodeToString(ErrorCode code) { return "ErrorCode::kUserCanceled"; case ErrorCode::kNonCriticalUpdateInOOBE: return "ErrorCode::kNonCriticalUpdateInOOBE"; - // Don't add a default case to let the compiler warn about newly added - // error codes which should be added here. + case ErrorCode::kUpdatedButNotActive: + return "ErrorCode::kUpdatedButNotActive"; + // Don't add a default case to let the compiler warn about newly added + // error codes which should be added here. } return "Unknown error: " + base::UintToString(static_cast<unsigned>(code)); |