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

Unified Diff: chrome/installer/util/installation_validator.h

Issue 7005019: Put SxS switches back into the rename command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « chrome/installer/util/chrome_frame_operations.cc ('k') | chrome/installer/util/installation_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installation_validator.h
===================================================================
--- chrome/installer/util/installation_validator.h (revision 84779)
+++ chrome/installer/util/installation_validator.h (working copy)
@@ -90,11 +90,16 @@
public:
virtual ~ProductRules() { }
virtual BrowserDistribution::Type distribution_type() const = 0;
- virtual void AddProductSwitchExpectations(
+ virtual void AddUninstallSwitchExpectations(
const InstallationState& machine_state,
bool system_install,
const ProductState& product_state,
SwitchExpectations* expectations) const = 0;
+ virtual void AddRenameSwitchExpectations(
+ const InstallationState& machine_state,
+ bool system_install,
+ const ProductState& product_state,
+ SwitchExpectations* expectations) const = 0;
// Return true if the rules allow usagestats setting.
virtual bool UsageStatsAllowed(const ProductState& product_state) const = 0;
};
@@ -103,11 +108,16 @@
class ChromeRules : public ProductRules {
public:
virtual BrowserDistribution::Type distribution_type() const OVERRIDE;
- virtual void AddProductSwitchExpectations(
+ virtual void AddUninstallSwitchExpectations(
const InstallationState& machine_state,
bool system_install,
const ProductState& product_state,
SwitchExpectations* expectations) const OVERRIDE;
+ virtual void AddRenameSwitchExpectations(
+ const InstallationState& machine_state,
+ bool system_install,
+ const ProductState& product_state,
+ SwitchExpectations* expectations) const OVERRIDE;
virtual bool UsageStatsAllowed(
const ProductState& product_state) const OVERRIDE;
};
@@ -116,11 +126,16 @@
class ChromeFrameRules : public ProductRules {
public:
virtual BrowserDistribution::Type distribution_type() const OVERRIDE;
- virtual void AddProductSwitchExpectations(
+ virtual void AddUninstallSwitchExpectations(
const InstallationState& machine_state,
bool system_install,
const ProductState& product_state,
SwitchExpectations* expectations) const OVERRIDE;
+ virtual void AddRenameSwitchExpectations(
+ const InstallationState& machine_state,
+ bool system_install,
+ const ProductState& product_state,
+ SwitchExpectations* expectations) const OVERRIDE;
virtual bool UsageStatsAllowed(
const ProductState& product_state) const OVERRIDE;
};
@@ -129,11 +144,16 @@
class ChromeBinariesRules : public ProductRules {
public:
virtual BrowserDistribution::Type distribution_type() const OVERRIDE;
- virtual void AddProductSwitchExpectations(
+ virtual void AddUninstallSwitchExpectations(
const InstallationState& machine_state,
bool system_install,
const ProductState& product_state,
SwitchExpectations* expectations) const OVERRIDE;
+ virtual void AddRenameSwitchExpectations(
+ const InstallationState& machine_state,
+ bool system_install,
+ const ProductState& product_state,
+ SwitchExpectations* expectations) const OVERRIDE;
virtual bool UsageStatsAllowed(
const ProductState& product_state) const OVERRIDE;
};
« no previous file with comments | « chrome/installer/util/chrome_frame_operations.cc ('k') | chrome/installer/util/installation_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698