| 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 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists | 18 HIGHER_VERSION_EXISTS, // Higher version of Chrome already exists |
| 19 USER_LEVEL_INSTALL_EXISTS, // User level install already exists | 19 USER_LEVEL_INSTALL_EXISTS, // User level install already exists |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 extern const wchar_t kDoNotLaunchChrome[]; | 74 extern const wchar_t kDoNotLaunchChrome[]; |
| 75 extern const wchar_t kDoNotRemoveSharedItems[]; | 75 extern const wchar_t kDoNotRemoveSharedItems[]; |
| 76 extern const wchar_t kEnableLogging[]; | 76 extern const wchar_t kEnableLogging[]; |
| 77 extern const wchar_t kForceUninstall[]; | 77 extern const wchar_t kForceUninstall[]; |
| 78 extern const wchar_t kInstallArchive[]; | 78 extern const wchar_t kInstallArchive[]; |
| 79 extern const wchar_t kInstallerData[]; | 79 extern const wchar_t kInstallerData[]; |
| 80 extern const wchar_t kLogFile[]; | 80 extern const wchar_t kLogFile[]; |
| 81 extern const wchar_t kMakeChromeDefault[]; | 81 extern const wchar_t kMakeChromeDefault[]; |
| 82 extern const wchar_t kNewSetupExe[]; | 82 extern const wchar_t kNewSetupExe[]; |
| 83 extern const wchar_t kRegisterChromeBrowser[]; | 83 extern const wchar_t kRegisterChromeBrowser[]; |
| 84 extern const wchar_t kRegisterChromeBrowserSuffix[]; |
| 84 extern const wchar_t kRenameChromeExe[]; | 85 extern const wchar_t kRenameChromeExe[]; |
| 85 extern const wchar_t kRemoveChromeRegistration[]; | 86 extern const wchar_t kRemoveChromeRegistration[]; |
| 86 extern const wchar_t kRunAsAdmin[]; | 87 extern const wchar_t kRunAsAdmin[]; |
| 87 extern const wchar_t kSystemLevel[]; | 88 extern const wchar_t kSystemLevel[]; |
| 88 extern const wchar_t kUninstall[]; | 89 extern const wchar_t kUninstall[]; |
| 89 extern const wchar_t kUpdateSetupExe[]; | 90 extern const wchar_t kUpdateSetupExe[]; |
| 90 extern const wchar_t kVerboseLogging[]; | 91 extern const wchar_t kVerboseLogging[]; |
| 91 extern const wchar_t kShowEula[]; | 92 extern const wchar_t kShowEula[]; |
| 92 extern const wchar_t kAltDesktopShortcut[]; | 93 extern const wchar_t kAltDesktopShortcut[]; |
| 93 extern const wchar_t kInactiveUserToast[]; | 94 extern const wchar_t kInactiveUserToast[]; |
| 94 } // namespace switches | 95 } // namespace switches |
| 95 | 96 |
| 96 extern const wchar_t kInstallBinaryDir[]; | 97 extern const wchar_t kInstallBinaryDir[]; |
| 97 extern const wchar_t kInstallUserDataDir[]; | 98 extern const wchar_t kInstallUserDataDir[]; |
| 98 extern const wchar_t kChromeExe[]; | 99 extern const wchar_t kChromeExe[]; |
| 99 extern const wchar_t kChromeOldExe[]; | 100 extern const wchar_t kChromeOldExe[]; |
| 100 extern const wchar_t kChromeNewExe[]; | 101 extern const wchar_t kChromeNewExe[]; |
| 101 extern const wchar_t kChromeDll[]; | 102 extern const wchar_t kChromeDll[]; |
| 102 extern const wchar_t kSetupExe[]; | 103 extern const wchar_t kSetupExe[]; |
| 103 extern const wchar_t kInstallerDir[]; | 104 extern const wchar_t kInstallerDir[]; |
| 104 | 105 |
| 105 extern const wchar_t kUninstallStringField[]; | 106 extern const wchar_t kUninstallStringField[]; |
| 106 extern const wchar_t kUninstallDisplayNameField[]; | 107 extern const wchar_t kUninstallDisplayNameField[]; |
| 107 extern const wchar_t kUninstallMetricsName[]; | 108 extern const wchar_t kUninstallMetricsName[]; |
| 108 extern const wchar_t kUninstallInstallationDate[]; | 109 extern const wchar_t kUninstallInstallationDate[]; |
| 109 | 110 |
| 110 } // namespace installer_util | 111 } // namespace installer_util |
| 111 | 112 |
| 112 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ | 113 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |