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

Unified Diff: chrome/installer/setup/setup_util.h

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_util.h
diff --git a/chrome/installer/setup/setup_util.h b/chrome/installer/setup/setup_util.h
index c6ab66146f65e2911b7a077667abcf39e4710a2c..6aca8cdc1e2ae07df5b86e1cee4cc98ea5163187 100644
--- a/chrome/installer/setup/setup_util.h
+++ b/chrome/installer/setup/setup_util.h
@@ -33,6 +33,7 @@ namespace installer {
class InstallationState;
class InstallerState;
class ProductState;
+class MasterPreferences;
// Applies a patch file to source file using Courgette. Returns 0 in case of
// success. In case of errors, it returns kCourgetteErrorOffset + a Courgette
@@ -120,6 +121,9 @@ void DeleteRegistryKeyPartial(
// registry entries.
base::string16 GuidToSquid(const base::string16& guid);
+// Returns true if rollback is enabld by installer data.
Georges Khalil 2016/04/28 14:36:30 nit: update this comment for consistency (also ena
zmin 2016/04/28 15:02:30 Done.
+bool CanDowngradeVersion(const MasterPreferences& prefs);
+
// This class will enable the privilege defined by |privilege_name| on the
// current process' token. The privilege will be disabled upon the
// ScopedTokenPrivilege's destruction (unless it was already enabled when the

Powered by Google App Engine
This is Rietveld 408576698