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

Unified Diff: trunk/src/chrome/installer/setup/setup_main.cc

Issue 422593002: Revert 285661 "Remove some dead app host code." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « trunk/src/chrome/installer/setup/setup_constants.cc ('k') | trunk/src/chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/installer/setup/setup_main.cc
===================================================================
--- trunk/src/chrome/installer/setup/setup_main.cc (revision 285705)
+++ trunk/src/chrome/installer/setup/setup_main.cc (working copy)
@@ -1639,6 +1639,16 @@
RemoveChromeLegacyRegistryKeys(chrome->distribution(), chrome_exe);
}
}
+
+ if (prefs.install_chrome_app_launcher() &&
+ InstallUtil::GetInstallReturnCode(install_status) == 0) {
+ std::string webstore_item(google_update::GetUntrustedDataValue(
+ kInstallFromWebstore));
+ if (!webstore_item.empty()) {
+ bool success = InstallFromWebstore(webstore_item);
+ VLOG_IF(1, !success) << "Failed to launch app installation.";
+ }
+ }
}
}
« no previous file with comments | « trunk/src/chrome/installer/setup/setup_constants.cc ('k') | trunk/src/chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698