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

Issue 10698114: Remove app shortcuts when app is uninstalled on Linux. (Closed)

Created:
8 years, 5 months ago by benwells
Modified:
8 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Remove app shortcuts when app is uninstalled on Linux. To support this, shortcut creation on Linux for extensions has been modified so that the filename encodes the extension ID and the profile. Also, when creating shortcuts any existing shortcuts are removed first. Web page shortcuts are not affected. BUG=130456 TEST=Test uninstalling apps removes their shortcuts; test uninstalling apps is not broken in any way; test shortcuts for web apps are not broken in any way. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146065 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146094

Patch Set 1 #

Patch Set 2 : Tests #

Patch Set 3 : Doesn't change web shortcut behaviour #

Patch Set 4 : Comments #

Total comments: 3

Patch Set 5 : Comment #

Patch Set 6 : Mac fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -17 lines) Patch
M chrome/browser/extensions/app_shortcut_manager.cc View 1 2 3 4 2 chunks +24 lines, -9 lines 0 comments Download
M chrome/browser/shell_integration_linux.h View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/shell_integration_linux.cc View 1 2 6 chunks +62 lines, -3 lines 0 comments Download
M chrome/browser/shell_integration_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 2 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
benwells
+koz for local sanity +mihai for app specific check
8 years, 5 months ago (2012-07-09 01:50:59 UTC) #1
koz (OOO until 15th September)
Code looks sane to me, but I'm not familiar with this code, so I'll leave ...
8 years, 5 months ago (2012-07-10 00:23:51 UTC) #2
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10698114/diff/3003/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/10698114/diff/3003/chrome/browser/shell_integration_linux.cc#newcode591 chrome/browser/shell_integration_linux.cc:591: cmd_line = ShellIntegration::CommandLineArgsForLauncher( Encoding this data in the filename ...
8 years, 5 months ago (2012-07-10 22:51:27 UTC) #3
benwells
http://codereview.chromium.org/10698114/diff/3003/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/10698114/diff/3003/chrome/browser/shell_integration_linux.cc#newcode591 chrome/browser/shell_integration_linux.cc:591: cmd_line = ShellIntegration::CommandLineArgsForLauncher( On 2012/07/10 22:51:27, Mihai Parparita wrote: ...
8 years, 5 months ago (2012-07-10 22:55:51 UTC) #4
Mihai Parparita -not on Chrome
LGTM, but please implement koz's suggestion before landing.
8 years, 5 months ago (2012-07-11 00:06:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10698114/9002
8 years, 5 months ago (2012-07-11 04:45:02 UTC) #6
commit-bot: I haz the power
Change committed as 146065
8 years, 5 months ago (2012-07-11 06:10:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10698114/9003
8 years, 5 months ago (2012-07-11 08:44:03 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 09:50:52 UTC) #9
Change committed as 146094

Powered by Google App Engine
This is Rietveld 408576698