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

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

Issue 2507293005: Force migrate all clients from multi-install back to single-install. (Closed)
Patch Set: gab comments Created 4 years 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
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/installer_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/installer_state.h
diff --git a/chrome/installer/setup/installer_state.h b/chrome/installer/setup/installer_state.h
index 9a5e9704e323760a379462f0cf693aa283e33980..2c25f3c1c0de7ff27c831cc4e71d26d96f32fc02 100644
--- a/chrome/installer/setup/installer_state.h
+++ b/chrome/installer/setup/installer_state.h
@@ -148,6 +148,10 @@ class InstallerState {
// with the ClientState key we will be interacting with.
BrowserDistribution::Type state_type() const { return state_type_; }
+ // Returns true if this is an update of multi-install Chrome to
+ // single-install.
+ bool is_migrating_to_single() const { return is_migrating_to_single_; }
+
// Returns the BrowserDistribution instance corresponding to the binaries for
// this run if we're operating on a multi-package product.
BrowserDistribution* multi_package_binaries_distribution() const {
@@ -270,6 +274,7 @@ class InstallerState {
bool msi_;
bool background_mode_;
bool verbose_logging_;
+ bool is_migrating_to_single_;
private:
DISALLOW_COPY_AND_ASSIGN(InstallerState);
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/installer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698