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

Unified Diff: chrome/installer/setup/install.cc

Issue 8502033: Add Windows desktop shortcut for multiple profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 9 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/installer/util/browser_distribution_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/install.cc
===================================================================
--- chrome/installer/setup/install.cc (revision 111142)
+++ chrome/installer/setup/install.cc (working copy)
@@ -131,12 +131,12 @@
VLOG(1) << "Creating shortcut to " << chrome_exe.value() << " at "
<< chrome_link.value();
ret = ShellUtil::UpdateChromeShortcut(browser_dist, chrome_exe.value(),
- chrome_link.value(), product_desc, true);
+ chrome_link.value(), L"", product_desc, true);
} else if (file_util::PathExists(chrome_link)) {
VLOG(1) << "Updating shortcut at " << chrome_link.value()
<< " to point to " << chrome_exe.value();
ret = ShellUtil::UpdateChromeShortcut(browser_dist, chrome_exe.value(),
- chrome_link.value(), product_desc, false);
+ chrome_link.value(), L"", product_desc, false);
} else {
VLOG(1)
<< "not first or repaired install, link file doesn't exist. status: "
@@ -181,7 +181,7 @@
if (ret) {
if (installer_state.system_install()) {
ret = ShellUtil::CreateChromeDesktopShortcut(product.distribution(),
- chrome_exe.value(), product_desc, ShellUtil::SYSTEM_LEVEL,
+ chrome_exe.value(), product_desc, L"", L"", ShellUtil::SYSTEM_LEVEL,
alt_shortcut, create_all_shortcut);
if (ret) {
ret = ShellUtil::CreateChromeQuickLaunchShortcut(
@@ -191,7 +191,7 @@
}
} else {
ret = ShellUtil::CreateChromeDesktopShortcut(product.distribution(),
- chrome_exe.value(), product_desc, ShellUtil::CURRENT_USER,
+ chrome_exe.value(), product_desc, L"", L"", ShellUtil::CURRENT_USER,
alt_shortcut, create_all_shortcut);
if (ret) {
ret = ShellUtil::CreateChromeQuickLaunchShortcut(
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/installer/util/browser_distribution_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698