summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/util_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/util_constants.h')
-rw-r--r--chrome/installer/util/util_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h
index 925110b..c8bcc3d 100644
--- a/chrome/installer/util/util_constants.h
+++ b/chrome/installer/util/util_constants.h
@@ -75,6 +75,13 @@ enum InstallStatus {
// command line.
};
+
+// If the following compile assert fires it means that the InstallStatus
+// enumeration changed which will break the contract between the old
+// chrome installed and the new setup.exe that is trying to upgrade.
+COMPILE_ASSERT(installer::CONFLICTING_CHANNEL_EXISTS == 39,
+ dont_change_enum);
+
// The type of an update archive.
enum ArchiveType {
UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized.