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

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

Issue 14031025: Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing Start Menu root stuff; cleanups. Created 7 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
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);

Powered by Google App Engine
This is Rietveld 408576698