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

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: 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..e684009647e68f465f9b10df747fe39381f91df8 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 && !IsRollbackEnabled(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