| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/basictypes.h" | 11 #include <stddef.h> |
| 12 | 12 |
| 13 namespace installer { | 13 namespace installer { |
| 14 | 14 |
| 15 // Return status of installer. Values in this enum must not change. Always add | 15 // Return status of installer. Values in this enum must not change. Always add |
| 16 // to the end. When removing an unused value, retain the deprecated name and | 16 // to the end. When removing an unused value, retain the deprecated name and |
| 17 // value in a comment for posterity's sake, but take the liberty of removing the | 17 // value in a comment for posterity's sake, but take the liberty of removing the |
| 18 // old doc string. | 18 // old doc string. |
| 19 enum InstallStatus { | 19 enum InstallStatus { |
| 20 FIRST_INSTALL_SUCCESS = 0, // First install of Chrome succeeded. | 20 FIRST_INSTALL_SUCCESS = 0, // First install of Chrome succeeded. |
| 21 INSTALL_REPAIRED = 1, // Same version reinstalled for repair. | 21 INSTALL_REPAIRED = 1, // Same version reinstalled for repair. |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 const int kCourgetteErrorOffset = 300; | 250 const int kCourgetteErrorOffset = 300; |
| 251 const int kBsdiffErrorOffset = 600; | 251 const int kBsdiffErrorOffset = 600; |
| 252 | 252 |
| 253 // Arguments to --patch switch | 253 // Arguments to --patch switch |
| 254 extern const char kCourgette[]; | 254 extern const char kCourgette[]; |
| 255 extern const char kBsdiff[]; | 255 extern const char kBsdiff[]; |
| 256 | 256 |
| 257 } // namespace installer | 257 } // namespace installer |
| 258 | 258 |
| 259 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ | 259 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ |
| OLD | NEW |