Index: chrome/installer/util/update_active_setup_version_work_item.h |
diff --git a/chrome/installer/util/update_active_setup_version_work_item.h b/chrome/installer/util/update_active_setup_version_work_item.h |
index e0bfdc47e73a238f43e2110bf1c9eca5abb207da..af3427c7fccae6f9da09e684703f18e237291afb 100644 |
--- a/chrome/installer/util/update_active_setup_version_work_item.h |
+++ b/chrome/installer/util/update_active_setup_version_work_item.h |
@@ -17,6 +17,18 @@ |
// in today's "private constructor + creator friends" WorkItem model :-(. |
class UpdateActiveSetupVersionWorkItem : public SetRegValueWorkItem { |
public: |
+ // The components of the Active Setup Version entry, in order. |
+ enum VersionComponent { |
+ // The major version. |
+ MAJOR, |
+ // Unused component, always 0 for now. |
+ UNUSED1, |
+ // Number of OS upgrades handled since original install. |
+ OS_UPGRADES, |
+ // Unused component, always 0 for now. |
+ UNUSED2, |
+ }; |
+ |
// The operation to be performed by this UpdateActiveSetupVersionWorkItem. |
enum Operation { |
// Update (or install if not present) the Active Setup "Version" in the |
@@ -34,18 +46,6 @@ class UpdateActiveSetupVersionWorkItem : public SetRegValueWorkItem { |
Operation operation); |
private: |
- // The components of the Active Setup Version entry, in order. |
- enum ActiveSetupVersionComponent { |
- // The major version. |
- MAJOR, |
- // Unused component, always 0 for now. |
- UNUSED1, |
- // Number of OS upgrades handled since original install. |
- OS_UPGRADES, |
- // Unused component, always 0 for now. |
- UNUSED2, |
- }; |
- |
// Returns the updated Active Setup version to be used based on the |
// |existing_version|. |
base::string16 GetUpdatedActiveSetupVersion( |