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

Issue 10837034: Remove packaged app Windows shortcuts when app is uninstalled. (Closed)

Created:
8 years, 4 months ago by benwells
Modified:
8 years, 4 months ago
CC:
chromium-reviews, erikwright (departed), Aaron Boodman, mihaip-chromium-reviews_chromium.org, tfarina, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove packaged app Windows shortcuts when app is uninstalled. BUG=130456 TEST=Check app shortcuts are removed when the app is uninstalled. Test extension uninstallation in general. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151021

Patch Set 1 #

Patch Set 2 : tidy up; linux and mac #

Total comments: 3

Patch Set 3 : Rebase #

Patch Set 4 : Merged to one function #

Total comments: 1

Patch Set 5 : Updated comments #

Total comments: 6

Patch Set 6 : Comments #

Patch Set 7 : Android compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -143 lines) Patch
M base/file_util.h View 1 2 3 4 5 1 chunk +10 lines, -4 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M base/file_util_win.cc View 1 2 3 4 2 chunks +39 lines, -24 lines 0 comments Download
M chrome/browser/extensions/app_shortcut_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/app_shortcut_manager.cc View 1 2 3 4 5 5 chunks +29 lines, -15 lines 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app.h View 2 chunks +15 lines, -22 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 3 chunks +20 lines, -14 lines 0 comments Download
M chrome/browser/web_applications/web_app_android.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/web_applications/web_app_linux.cc View 1 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 4 5 8 chunks +111 lines, -44 lines 0 comments Download
M net/url_request/url_request_file_job.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/dialogs/select_file_dialog_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
benwells
mihai for general review brettw as owner for chrome/ and base/ I took the opportunity ...
8 years, 4 months ago (2012-08-01 06:42:24 UTC) #1
benwells
On 2012/08/01 06:42:24, benwells wrote: > mihai for general review > brettw as owner for ...
8 years, 4 months ago (2012-08-03 03:30:04 UTC) #2
brettw
https://chromiumcodereview.appspot.com/10837034/diff/2001/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10837034/diff/2001/base/file_util_win.cc#newcode369 base/file_util_win.cc:369: bool GetShortcutArguments(const FilePath& shortcut_path, string16* args) { There's too ...
8 years, 4 months ago (2012-08-05 05:24:25 UTC) #3
brettw
https://chromiumcodereview.appspot.com/10837034/diff/2001/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10837034/diff/2001/base/file_util_win.cc#newcode369 base/file_util_win.cc:369: bool GetShortcutArguments(const FilePath& shortcut_path, string16* args) { Maybe we ...
8 years, 4 months ago (2012-08-05 17:55:24 UTC) #4
benwells
http://codereview.chromium.org/10837034/diff/2001/base/file_util_win.cc File base/file_util_win.cc (right): http://codereview.chromium.org/10837034/diff/2001/base/file_util_win.cc#newcode369 base/file_util_win.cc:369: bool GetShortcutArguments(const FilePath& shortcut_path, string16* args) { On 2012/08/05 ...
8 years, 4 months ago (2012-08-07 12:24:05 UTC) #5
brettw
base LGTM, I didn't look at the rest. http://codereview.chromium.org/10837034/diff/10001/base/file_util_win.cc File base/file_util_win.cc (right): http://codereview.chromium.org/10837034/diff/10001/base/file_util_win.cc#newcode350 base/file_util_win.cc:350: // ...
8 years, 4 months ago (2012-08-07 17:51:27 UTC) #6
benwells
+sky for chrome/ and ui/ OWNER +rdsmith for net/ OWNER mihai: ping for general approach
8 years, 4 months ago (2012-08-08 01:17:12 UTC) #7
sky
I only looked at c/b/u, which LGTM
8 years, 4 months ago (2012-08-08 04:42:41 UTC) #8
Randy Smith (Not in Mondays)
With the below comment, url_request_file_job.cc LGTM. http://codereview.chromium.org/10837034/diff/14001/base/file_util.h File base/file_util.h (right): http://codereview.chromium.org/10837034/diff/14001/base/file_util.h#newcode242 base/file_util.h:242: // if all ...
8 years, 4 months ago (2012-08-08 15:49:36 UTC) #9
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/10837034/diff/14001/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): https://chromiumcodereview.appspot.com/10837034/diff/14001/chrome/browser/extensions/app_shortcut_manager.cc#newcode146 chrome/browser/extensions/app_shortcut_manager.cc:146: delete_info.extension_id = extension->id(); Nit: This seems to repeat ...
8 years, 4 months ago (2012-08-09 01:09:47 UTC) #10
benwells
http://codereview.chromium.org/10837034/diff/14001/base/file_util.h File base/file_util.h (right): http://codereview.chromium.org/10837034/diff/14001/base/file_util.h#newcode242 base/file_util.h:242: // if all requested fields are are found successfully. ...
8 years, 4 months ago (2012-08-10 07:10:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10837034/10003
8 years, 4 months ago (2012-08-10 07:10:03 UTC) #12
commit-bot: I haz the power
Try job failure for 10837034-10003 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 4 months ago (2012-08-10 07:45:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10837034/11034
8 years, 4 months ago (2012-08-10 09:53:14 UTC) #14
commit-bot: I haz the power
8 years, 4 months ago (2012-08-10 12:50:13 UTC) #15
Change committed as 151021

Powered by Google App Engine
This is Rietveld 408576698