Index: chrome/installer/util/installer_state.h |
diff --git a/chrome/installer/util/installer_state.h b/chrome/installer/util/installer_state.h |
index 46f5b5d84992f56d210a0fdbc2650c22dc6a3466..4868eea0fb34a49cab19d39312d83102e5faf4c4 100644 |
--- a/chrome/installer/util/installer_state.h |
+++ b/chrome/installer/util/installer_state.h |
@@ -111,12 +111,23 @@ class InstallerState { |
// TODO(grt): Eradicate the bool in favor of the enum. |
bool is_multi_install() const; |
- // A convenient method returning the presence of the |
+ // A convenience method returning the presence of the |
// --ensure-google-update-present switch. |
bool ensure_google_update_present() const { |
return ensure_google_update_present_; |
} |
+ // Returns true if the legacy App Launcher is installed and must be migrated |
+ // to the new unified Chrome / App Launcher flow. |
+ bool need_to_migrate_legacy_app_launcher() const { |
+ return need_to_migrate_legacy_app_launcher_; |
+ } |
+ |
+ // Returns true if the installer should create shortcuts for the App Launcher. |
+ bool create_app_launcher_shortcuts() const { |
+ return create_app_launcher_shortcuts_; |
+ } |
+ |
// The full path to the place where the operand resides. |
const base::FilePath& target_path() const { return target_path_; } |
@@ -253,6 +264,10 @@ class InstallerState { |
bool msi_; |
bool verbose_logging_; |
bool ensure_google_update_present_; |
+ // TODO(huangs): Remove by M30. |
+ bool need_to_migrate_legacy_app_launcher_; |
+ // TODO(huangs): Remove by M30. |
+ bool create_app_launcher_shortcuts_; |
private: |
DISALLOW_COPY_AND_ASSIGN(InstallerState); |