Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3891)

Unified Diff: chrome/installer/mini_installer/exit_code.h

Issue 365143002: mini_installer code cleanups (no functional changes). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gab comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/mini_installer/exit_code.h
diff --git a/chrome/installer/mini_installer/exit_code.h b/chrome/installer/mini_installer/exit_code.h
new file mode 100644
index 0000000000000000000000000000000000000000..38469e73687e51cc2f3a0837c7afe1a24ae04a6d
--- /dev/null
+++ b/chrome/installer/mini_installer/exit_code.h
@@ -0,0 +1,25 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
+#define CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_
+
+namespace mini_installer {
+
+// mini_installer process exit codes (the underlying type is uint32_t).
+enum ExitCode {
+ SUCCESS_EXIT_CODE = 0,
+ GENERIC_ERROR = 1,
+ // The next three generic values are here for historic reasons. New additions
+ // should have values strictly greater than them. This is to prevent
+ // collisions with setup.exe's installer::InstallStatus enum since the two are
+ // surfaced similarly by Google Update.
+ GENERIC_INITIALIZATION_FAILURE = 101,
+ GENERIC_UNPACKING_FAILURE = 102,
+ GENERIC_SETUP_FAILURE = 103,
+};
+
+} // namespace mini_installer
+
+#endif // CHROME_INSTALLER_MINI_INSTALLER_EXIT_CODE_H_

Powered by Google App Engine
This is Rietveld 408576698