| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 namespace installer_util { | 12 namespace installer { |
| 13 | 13 |
| 14 // Return status of installer | 14 // Return status of installer |
| 15 enum InstallStatus { | 15 enum InstallStatus { |
| 16 FIRST_INSTALL_SUCCESS, // Successfully installed Chrome for the first time | 16 FIRST_INSTALL_SUCCESS, // Successfully installed Chrome for the first time |
| 17 INSTALL_REPAIRED, // Same version reinstalled for repair | 17 INSTALL_REPAIRED, // Same version reinstalled for repair |
| 18 NEW_VERSION_UPDATED, // Chrome successfully updated to new version | 18 NEW_VERSION_UPDATED, // Chrome successfully updated to new version |
| 19 EXISTING_VERSION_LAUNCHED, // No work done, just launched existing chrome | 19 EXISTING_VERSION_LAUNCHED, // No work done, just launched existing chrome |
| 20 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists | 20 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists |
| 21 USER_LEVEL_INSTALL_EXISTS, // User level install already exists | 21 USER_LEVEL_INSTALL_EXISTS, // User level install already exists |
| 22 SYSTEM_LEVEL_INSTALL_EXISTS, // Machine level install already exists | 22 SYSTEM_LEVEL_INSTALL_EXISTS, // Machine level install already exists |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 extern const wchar_t kUninstallInstallationDate[]; | 111 extern const wchar_t kUninstallInstallationDate[]; |
| 112 extern const char kUninstallMetricsName[]; | 112 extern const char kUninstallMetricsName[]; |
| 113 extern const wchar_t kUninstallStringField[]; | 113 extern const wchar_t kUninstallStringField[]; |
| 114 | 114 |
| 115 // Used by ProductInstall::WriteInstallerResult. | 115 // Used by ProductInstall::WriteInstallerResult. |
| 116 extern const wchar_t kInstallerResult[]; | 116 extern const wchar_t kInstallerResult[]; |
| 117 extern const wchar_t kInstallerError[]; | 117 extern const wchar_t kInstallerError[]; |
| 118 extern const wchar_t kInstallerResultUIString[]; | 118 extern const wchar_t kInstallerResultUIString[]; |
| 119 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; | 119 extern const wchar_t kInstallerSuccessLaunchCmdLine[]; |
| 120 | 120 |
| 121 } // namespace installer_util | 121 } // namespace installer |
| 122 | 122 |
| 123 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 123 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |