OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 |
11 namespace installer_util { | 11 namespace installer_util { |
12 | 12 |
13 // Return status of installer | 13 // Return status of installer |
14 enum InstallStatus { | 14 enum InstallStatus { |
15 FIRST_INSTALL_SUCCESS, // Successfully installed Chrome for the first time | 15 FIRST_INSTALL_SUCCESS, // Successfully installed Chrome for the first time |
16 INSTALL_REPAIRED, // Same version reinstalled for repair | 16 INSTALL_REPAIRED, // Same version reinstalled for repair |
17 NEW_VERSION_UPDATED, // Chrome successfully updated to new version | 17 NEW_VERSION_UPDATED, // Chrome successfully updated to new version |
| 18 EXISTING_VERSION_LAUNCHED, // No work done, just launched existing chrome |
18 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists | 19 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists |
19 USER_LEVEL_INSTALL_EXISTS, // User level install already exists | 20 USER_LEVEL_INSTALL_EXISTS, // User level install already exists |
20 SYSTEM_LEVEL_INSTALL_EXISTS, // Machine level install already exists | 21 SYSTEM_LEVEL_INSTALL_EXISTS, // Machine level install already exists |
21 INSTALL_FAILED, // Install/update failed | 22 INSTALL_FAILED, // Install/update failed |
22 SETUP_PATCH_FAILED, // Failed to patch setup.exe | 23 SETUP_PATCH_FAILED, // Failed to patch setup.exe |
23 OS_NOT_SUPPORTED, // Current OS not supported | 24 OS_NOT_SUPPORTED, // Current OS not supported |
24 OS_ERROR, // OS API call failed | 25 OS_ERROR, // OS API call failed |
25 TEMP_DIR_FAILED, // Unable to get Temp directory | 26 TEMP_DIR_FAILED, // Unable to get Temp directory |
26 UNCOMPRESSION_FAILED, // Failed to uncompress Chrome archive | 27 UNCOMPRESSION_FAILED, // Failed to uncompress Chrome archive |
27 INVALID_ARCHIVE, // Something wrong with the installer archive | 28 INVALID_ARCHIVE, // Something wrong with the installer archive |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 extern const wchar_t kSxSSuffix[]; | 97 extern const wchar_t kSxSSuffix[]; |
97 | 98 |
98 extern const wchar_t kUninstallStringField[]; | 99 extern const wchar_t kUninstallStringField[]; |
99 extern const wchar_t kUninstallDisplayNameField[]; | 100 extern const wchar_t kUninstallDisplayNameField[]; |
100 extern const wchar_t kUninstallMetricsName[]; | 101 extern const wchar_t kUninstallMetricsName[]; |
101 extern const wchar_t kUninstallInstallationDate[]; | 102 extern const wchar_t kUninstallInstallationDate[]; |
102 | 103 |
103 } // namespace installer_util | 104 } // namespace installer_util |
104 | 105 |
105 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 106 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
OLD | NEW |