Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4751)

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 1914213002: Support rollback with installerdata in mini_installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: installer data format update Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 5e055350715c37a198d4c60e53dead667d9db241..14f44f7a2314f9d40150e6845bf3e0d1862acc42 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -1523,7 +1523,7 @@ InstallStatus InstallProductsHelper(const InstallationState& original_state,
}
}
- if (higher_products != 0) {
+ if (higher_products != 0 && !CanDowngradeVersion(prefs)) {
static_assert(BrowserDistribution::NUM_TYPES == 3,
"add support for new products here");
int message_id = IDS_INSTALL_HIGHER_VERSION_BASE;

Powered by Google App Engine
This is Rietveld 408576698