Convert browser_tests to Swarming.
[chromium-blink-merge.git] / chrome / installer / mini_installer / exit_code.h
blob38469e73687e51cc2f3a0837c7afe1a24ae04a6d
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.
5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
8 namespace mini_installer {
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,
23 } // namespace mini_installer
25 #endif // CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_