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

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: Feature-complete (except for unit tests for ShellUtil shortcut update code). 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..570f96eb75e45abbbba7f21c248d390111a2bd31 100644
--- a/chrome/installer/util/installer_state.h
+++ b/chrome/installer/util/installer_state.h
@@ -117,6 +117,18 @@ class InstallerState {
return ensure_google_update_present_;
}
+ // A convenient method returning the presence of legacy App Launcher (with
grt (UTC plus 2) 2013/05/16 14:55:52 I don't think this method is a convenience in the
huangs 2013/05/17 20:59:24 Done (minor rephrasing).
+ // its own Add/Remove entry, and app_host.exe), which requires migration.
+ bool need_to_migrate_legacy_app_launcher() const {
+ return need_to_migrate_legacy_app_launcher_;
+ }
+
+ // A convenient method returning the need to create shortcuts for the
grt (UTC plus 2) 2013/05/16 14:55:52 Similar comment as above. How about "Returns true
huangs 2013/05/17 20:59:24 Done (minor rephrasing).
+ // App Launcher, as specified by the --app-launcher switch.
+ 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 +265,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