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

Issue 12570009: Disable ProfileShortcutManager for App Launcher (chrome.exe --show-app-list) (Closed)

Created:
7 years, 9 months ago by huangs
Modified:
7 years, 9 months ago
CC:
chromium-reviews, sail+watch_chromium.org, erikwright (departed)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Disable ProfileShortcutManager for App Launcher (chrome.exe --show-app-list) The existing code in ProfileShort assumes chrome.exe means Chrome Browser. As a result, when a profile is created (in particular, when App Launcher is first run after install), it attempts to update Chrome shortcut, and ends up creating it, even though Chrome is not installed. The minimal-effective solution is to disable ProfileShortcutManager if chrom.exe is run for App Launcher (via chrome.exe --show-app-list). If we ever want to support profile shortcuts for App Launcher, we'll need to undo this change, and also update profile_shortcut_manager_win.cc: CreateOrUpdateDesktopShortcutsForProfile() to use ChromeAppHostDistribution, and scan for app_host.exe in shortcuts. BUG=174849 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188121

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/profiles/profile_shortcut_manager_win.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
huangs
PTAL.
7 years, 9 months ago (2013-03-12 20:32:12 UTC) #1
Alexei Svitkine (slow)
This seems reasonable. Can you explain under what circumstances switches::kShowAppList gets used on the command-line? ...
7 years, 9 months ago (2013-03-12 20:34:10 UTC) #2
huangs
kShowAppList (--show-app-list) is the switch used to run the App Launcher. It is invoked via ...
7 years, 9 months ago (2013-03-12 20:37:09 UTC) #3
Alexei Svitkine (slow)
On 2013/03/12 20:37:09, huangs1 wrote: > kShowAppList (--show-app-list) is the switch used to run the ...
7 years, 9 months ago (2013-03-12 20:53:51 UTC) #4
huangs
It is passed when executing App Launcher. Regular chrome.exe will not get --show-app-list.
7 years, 9 months ago (2013-03-12 21:03:27 UTC) #5
Alexei Svitkine (slow)
Okay, LGTM in that case.
7 years, 9 months ago (2013-03-12 21:05:10 UTC) #6
Alexei Svitkine (slow)
+sail for profiles/ owners
7 years, 9 months ago (2013-03-12 21:05:31 UTC) #7
benwells
lgtm
7 years, 9 months ago (2013-03-12 21:16:58 UTC) #8
huangs
Ping sail@ for OWNER review.
7 years, 9 months ago (2013-03-14 02:48:01 UTC) #9
sail
lgtm
7 years, 9 months ago (2013-03-14 04:08:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/12570009/1
7 years, 9 months ago (2013-03-14 06:28:54 UTC) #11
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 17:45:44 UTC) #12
Message was sent while issue was closed.
Change committed as 188121

Powered by Google App Engine
This is Rietveld 408576698