1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_ 6 #define CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_ 7 8 namespace mini_installer { 9 10 // mini_installer process exit codes (the underlying type is uint32_t). 11 enum ExitCode { 12 SUCCESS_EXIT_CODE = 0, 13 GENERIC_ERROR = 1, 14 // The next three generic values are here for historic reasons. New additions 15 // should have values strictly greater than them. This is to prevent 16 // collisions with setup.exe's installer::InstallStatus enum since the two are 17 // surfaced similarly by Google Update. 18 GENERIC_INITIALIZATION_FAILURE = 101, 19 GENERIC_UNPACKING_FAILURE = 102, 20 GENERIC_SETUP_FAILURE = 103, 21 }; 22 23 } // namespace mini_installer 24 25 #endif // CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_ 26