| 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 29 matching lines...) Expand all Loading... |
| 49 extern const wchar_t kDoNotLaunchChrome[]; | 49 extern const wchar_t kDoNotLaunchChrome[]; |
| 50 extern const wchar_t kDoNotRemoveSharedItems[]; | 50 extern const wchar_t kDoNotRemoveSharedItems[]; |
| 51 extern const wchar_t kEnableLogging[]; | 51 extern const wchar_t kEnableLogging[]; |
| 52 extern const wchar_t kForceUninstall[]; | 52 extern const wchar_t kForceUninstall[]; |
| 53 extern const wchar_t kInstallArchive[]; | 53 extern const wchar_t kInstallArchive[]; |
| 54 extern const wchar_t kInstallerData[]; | 54 extern const wchar_t kInstallerData[]; |
| 55 extern const wchar_t kLogFile[]; | 55 extern const wchar_t kLogFile[]; |
| 56 extern const wchar_t kMakeChromeDefault[]; | 56 extern const wchar_t kMakeChromeDefault[]; |
| 57 extern const wchar_t kNewSetupExe[]; | 57 extern const wchar_t kNewSetupExe[]; |
| 58 extern const wchar_t kRegisterChromeBrowser[]; | 58 extern const wchar_t kRegisterChromeBrowser[]; |
| 59 extern const wchar_t kRegisterChromeBrowserSuffix[]; |
| 59 extern const wchar_t kRenameChromeExe[]; | 60 extern const wchar_t kRenameChromeExe[]; |
| 60 extern const wchar_t kRemoveChromeRegistration[]; | 61 extern const wchar_t kRemoveChromeRegistration[]; |
| 61 extern const wchar_t kRunAsAdmin[]; | 62 extern const wchar_t kRunAsAdmin[]; |
| 62 extern const wchar_t kSystemLevel[]; | 63 extern const wchar_t kSystemLevel[]; |
| 63 extern const wchar_t kUninstall[]; | 64 extern const wchar_t kUninstall[]; |
| 64 extern const wchar_t kUpdateSetupExe[]; | 65 extern const wchar_t kUpdateSetupExe[]; |
| 65 extern const wchar_t kVerboseLogging[]; | 66 extern const wchar_t kVerboseLogging[]; |
| 66 extern const wchar_t kShowEula[]; | 67 extern const wchar_t kShowEula[]; |
| 67 extern const wchar_t kAltDesktopShortcut[]; | 68 extern const wchar_t kAltDesktopShortcut[]; |
| 68 extern const wchar_t kInactiveUserToast[]; | 69 extern const wchar_t kInactiveUserToast[]; |
| 69 } // namespace switches | 70 } // namespace switches |
| 70 | 71 |
| 71 extern const wchar_t kInstallBinaryDir[]; | 72 extern const wchar_t kInstallBinaryDir[]; |
| 72 extern const wchar_t kInstallUserDataDir[]; | 73 extern const wchar_t kInstallUserDataDir[]; |
| 73 extern const wchar_t kChromeExe[]; | 74 extern const wchar_t kChromeExe[]; |
| 74 extern const wchar_t kChromeOldExe[]; | 75 extern const wchar_t kChromeOldExe[]; |
| 75 extern const wchar_t kChromeNewExe[]; | 76 extern const wchar_t kChromeNewExe[]; |
| 76 extern const wchar_t kChromeDll[]; | 77 extern const wchar_t kChromeDll[]; |
| 77 extern const wchar_t kSetupExe[]; | 78 extern const wchar_t kSetupExe[]; |
| 78 extern const wchar_t kInstallerDir[]; | 79 extern const wchar_t kInstallerDir[]; |
| 79 | 80 |
| 80 extern const wchar_t kUninstallStringField[]; | 81 extern const wchar_t kUninstallStringField[]; |
| 81 extern const wchar_t kUninstallDisplayNameField[]; | 82 extern const wchar_t kUninstallDisplayNameField[]; |
| 82 extern const wchar_t kUninstallMetricsName[]; | 83 extern const wchar_t kUninstallMetricsName[]; |
| 83 extern const wchar_t kUninstallInstallationDate[]; | 84 extern const wchar_t kUninstallInstallationDate[]; |
| 84 | 85 |
| 85 } // namespace installer_util | 86 } // namespace installer_util |
| 86 | 87 |
| 87 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ | 88 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |