summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/installation_state.h
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 00:03:13 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 00:03:13 +0000
commite85c4950486ca810ef6c84daede9cab2c7893efe (patch)
tree9f15716de4a2952174640994ec7bf53a2dbeb234 /chrome/installer/util/installation_state.h
parentff47b296ef2047749c395220971e516ffa52a163 (diff)
downloadchromium_src-e85c4950486ca810ef6c84daede9cab2c7893efe.zip
chromium_src-e85c4950486ca810ef6c84daede9cab2c7893efe.tar.gz
chromium_src-e85c4950486ca810ef6c84daede9cab2c7893efe.tar.bz2
Slight cleanup to get rid of unneeded registry access and silence a warning for a state that wasn't bad.
BUG=none TEST=installation and uninstallation still work Review URL: http://codereview.chromium.org/6625063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/installation_state.h')
-rw-r--r--chrome/installer/util/installation_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/installer/util/installation_state.h b/chrome/installer/util/installation_state.h
index a623992..939341f 100644
--- a/chrome/installer/util/installation_state.h
+++ b/chrome/installer/util/installation_state.h
@@ -80,6 +80,9 @@ class ProductState {
// Returns this object a la operator=().
ProductState& CopyFrom(const ProductState& other);
+ // Clears the state of this object.
+ void Clear();
+
protected:
static bool InitializeCommands(const base::win::RegKey& version_key,
AppCommands* commands);