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

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: Nit. Created 8 years, 1 month 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..744da245d602d147084b6e0ba5dd19c1d745ba2d 100644
--- a/chrome/installer/util/chrome_app_host_distribution.cc
+++ b/chrome/installer/util/chrome_app_host_distribution.cc
@@ -21,8 +21,10 @@
#include "installer_util_strings.h" // NOLINT
namespace {
+
const wchar_t kChromeAppHostGuid[] = L"{FDA71E6F-AC4C-4a00-8B70-9958A68906BF}";
-}
+
+} // namespace
ChromeAppHostDistribution::ChromeAppHostDistribution()
: BrowserDistribution(CHROME_APP_HOST) {
@@ -48,6 +50,11 @@ string16 ChromeAppHostDistribution::GetAlternateApplicationName() {
return product_name;
}
+string16 ChromeAppHostDistribution::GetBaseAppId() {
+ // Should be same as AppListController::GetAppModelId().
+ return L"ChromeAppList";
+}
+
string16 ChromeAppHostDistribution::GetInstallSubDir() {
return BrowserDistribution::GetSpecificDistribution(
BrowserDistribution::CHROME_BINARIES)->GetInstallSubDir();
@@ -124,7 +131,7 @@ bool ChromeAppHostDistribution::CanSetAsDefault() {
}
bool ChromeAppHostDistribution::CanCreateDesktopShortcuts() {
- return false;
+ return true;
}
bool ChromeAppHostDistribution::GetCommandExecuteImplClsid(
« no previous file with comments | « chrome/installer/util/chrome_app_host_distribution.h ('k') | chrome/installer/util/chrome_app_host_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698