exit_code.h revision 116680a4aac90f2aa7413d9095a592090648e557
1a5728872c7702ddd09537c95bc3cbd20e1f2fb09Daniel Dunbar// Copyright 2014 The Chromium Authors. All rights reserved.
28e8fb3be5bd78f0564444eca02b404566a5f3b5dAndy Gibbs// Use of this source code is governed by a BSD-style license that can be
33f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar// found in the LICENSE file.
43f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar
53f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar#ifndef CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
63f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar#define CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
73f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar
83f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbarnamespace mini_installer {
93f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar
103f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar// mini_installer process exit codes (the underlying type is uint32_t).
113f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbarenum ExitCode {
123f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  SUCCESS_EXIT_CODE = 0,
133f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  GENERIC_ERROR = 1,
143f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  // The next three generic values are here for historic reasons. New additions
153f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  // should have values strictly greater than them. This is to prevent
163f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  // collisions with setup.exe's installer::InstallStatus enum since the two are
173f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  // surfaced similarly by Google Update.
18f515b2268f829adfbfdb751f54d102b53ed0285cDaniel Dunbar  GENERIC_INITIALIZATION_FAILURE = 101,
19f515b2268f829adfbfdb751f54d102b53ed0285cDaniel Dunbar  GENERIC_UNPACKING_FAILURE = 102,
203f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar  GENERIC_SETUP_FAILURE = 103,
213f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar};
223f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar
233f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar}  // namespace mini_installer
24f515b2268f829adfbfdb751f54d102b53ed0285cDaniel Dunbar
253f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar#endif  // CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
263f180c618970d1369726b9229c0370617e05c7cbDaniel Dunbar