| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Defines all install related constants that need to be used by Chrome as | 5 // Defines all install related constants that need to be used by Chrome as |
| 6 // well as Chrome Installer. | 6 // well as Chrome Installer. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ | 8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ |
| 9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ | 9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 CHROME_RUNNING, // Chrome currently running (when trying to uninstall) | 29 CHROME_RUNNING, // Chrome currently running (when trying to uninstall) |
| 30 UNINSTALL_CONFIRMED, // User has confirmed Chrome uninstall | 30 UNINSTALL_CONFIRMED, // User has confirmed Chrome uninstall |
| 31 UNINSTALL_SUCCESSFUL, // Chrome successfully uninstalled | 31 UNINSTALL_SUCCESSFUL, // Chrome successfully uninstalled |
| 32 UNINSTALL_FAILED, // Chrome uninstallation failed | 32 UNINSTALL_FAILED, // Chrome uninstallation failed |
| 33 UNINSTALL_CANCELLED, // User cancelled Chrome uninstallation | 33 UNINSTALL_CANCELLED, // User cancelled Chrome uninstallation |
| 34 UNKNOWN_STATUS, // Unknown status (this should never happen) | 34 UNKNOWN_STATUS, // Unknown status (this should never happen) |
| 35 RENAME_SUCCESSFUL, // Rename of new_chrome.exe to chrome.exe worked | 35 RENAME_SUCCESSFUL, // Rename of new_chrome.exe to chrome.exe worked |
| 36 RENAME_FAILED, // Rename of new_chrome.exe failed | 36 RENAME_FAILED, // Rename of new_chrome.exe failed |
| 37 EULA_REJECTED, // EULA dialog was not accepted by user. | 37 EULA_REJECTED, // EULA dialog was not accepted by user. |
| 38 EULA_ACCEPTED, // EULA dialog was accepted by user. | 38 EULA_ACCEPTED, // EULA dialog was accepted by user. |
| 39 EULA_ACCEPTED_OPT_IN // EULA accepted wtih the crash optin selected. | 39 EULA_ACCEPTED_OPT_IN, // EULA accepted wtih the crash optin selected. |
| 40 INSTALL_DIR_IN_USE // Installation directory is in use by another process |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 // These are distibution related install options specified through command | 43 // These are distibution related install options specified through command |
| 43 // line switches (see below) or master preference file (see | 44 // line switches (see below) or master preference file (see |
| 44 // chrome/installer/util/master_preference.h). The options can be combined, | 45 // chrome/installer/util/master_preference.h). The options can be combined, |
| 45 // so they are bit flags. | 46 // so they are bit flags. |
| 46 enum InstallOption { | 47 enum InstallOption { |
| 47 // A master profile file is provided to installer. | 48 // A master profile file is provided to installer. |
| 48 MASTER_PROFILE_PRESENT = 0x1, | 49 MASTER_PROFILE_PRESENT = 0x1, |
| 49 // The master profile file provided is valid. | 50 // The master profile file provided is valid. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 extern const wchar_t kChromeNewExe[]; | 89 extern const wchar_t kChromeNewExe[]; |
| 89 extern const wchar_t kChromeDll[]; | 90 extern const wchar_t kChromeDll[]; |
| 90 extern const wchar_t kSetupExe[]; | 91 extern const wchar_t kSetupExe[]; |
| 91 extern const wchar_t kInstallerDir[]; | 92 extern const wchar_t kInstallerDir[]; |
| 92 | 93 |
| 93 extern const wchar_t kUninstallStringField[]; | 94 extern const wchar_t kUninstallStringField[]; |
| 94 extern const wchar_t kUninstallDisplayNameField[]; | 95 extern const wchar_t kUninstallDisplayNameField[]; |
| 95 } // namespace installer_util | 96 } // namespace installer_util |
| 96 | 97 |
| 97 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ | 98 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ |
| OLD | NEW |