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

Unified Diff: chrome/installer/util/chrome_app_host_distribution.cc

Issue 11359013: Adding App Launcher shortcuts on install. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/chrome_app_host_distribution.cc
diff --git a/chrome/installer/util/chrome_app_host_distribution.cc b/chrome/installer/util/chrome_app_host_distribution.cc
index 112678e430f84ec1fb76b1c7d2747661fc97bced..37a446d8dcf87fd373143de1d09111e6ac3cee6a 100644
--- a/chrome/installer/util/chrome_app_host_distribution.cc
+++ b/chrome/installer/util/chrome_app_host_distribution.cc
@@ -48,6 +48,11 @@ string16 ChromeAppHostDistribution::GetAlternateApplicationName() {
return product_name;
}
+string16 ChromeAppHostDistribution::GetBaseAppId() {
+ // See AppListController::GetAppModelId().
+ return L"ChromeAppList";
erikwright (departed) 2012/11/01 01:21:50 Is a TODO required to use the correct App Model ID
gab 2012/11/01 04:46:19 This is the "base AppId", i.e. the one to begin al
huangs 2012/11/01 19:20:38 Expanded comment, and defined constant for this.
+}
+
string16 ChromeAppHostDistribution::GetInstallSubDir() {
return BrowserDistribution::GetSpecificDistribution(
BrowserDistribution::CHROME_BINARIES)->GetInstallSubDir();
@@ -124,7 +129,7 @@ bool ChromeAppHostDistribution::CanSetAsDefault() {
}
bool ChromeAppHostDistribution::CanCreateDesktopShortcuts() {
- return false;
+ return true;
gab 2012/11/01 04:46:19 I don't think this has any impact anymore (i.e. fi
huangs 2012/11/01 19:20:38 Will edit once I have access. Planning to add: -
}
bool ChromeAppHostDistribution::GetCommandExecuteImplClsid(
« chrome/installer/setup/uninstall.cc ('K') | « chrome/installer/util/chrome_app_host_distribution.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698