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

Issue 1289333005: Change shortcut install location to non-subdir. (Closed)

Created:
5 years, 4 months ago by bcwhite
Modified:
5 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change shortcut install location to non-subdir. BUG=169669 Committed: https://crrev.com/c5bab94fdde60b2bc9ed93822f35c5ce50202d26 Cr-Commit-Position: refs/heads/master@{#356371} Committed: https://crrev.com/f440aa1a1e31c13ffc981612f50f330e944e2bb4 Cr-Commit-Position: refs/heads/master@{#360867}

Patch Set 1 #

Patch Set 2 : fixed tests #

Patch Set 3 : add some log messages to figure out test problems #

Patch Set 4 : more logging #

Patch Set 5 : even more logging #

Patch Set 6 : added start-menu-root to LogShortcutOperation #

Patch Set 7 : removed test logging #

Patch Set 8 : handle update migration from folder to root shortcut #

Patch Set 9 : added test for shortcut migration #

Total comments: 5

Patch Set 10 : added new tests #

Patch Set 11 : move shortcut instead of delete/create #

Total comments: 12

Patch Set 12 : addressed review comments; re-ordered some params #

Total comments: 8

Patch Set 13 : test improvements #

Total comments: 25

Patch Set 14 : rebased #

Patch Set 15 : addressed comments; added tests; removed extraneous parameter #

Patch Set 16 : added menu_root to cleanup code #

Total comments: 25

Patch Set 17 : addressed review comments by grt #

Patch Set 18 : address review comments by gab #

Patch Set 19 : git cl format #

Total comments: 2

Patch Set 20 : undo git cl format #

Patch Set 21 : deprecate chrome_subdir in another place #

Patch Set 22 : some 'git cl format' changes #

Total comments: 5

Patch Set 23 : added todo; removed blank line #

Patch Set 24 : rebased #

Patch Set 25 : revert part of cl/1438793002 that is no longer needed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -95 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_service_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +21 lines, -2 lines 0 comments Download
M chrome/installer/setup/install_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +77 lines, -7 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +18 lines, -10 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 16 chunks +55 lines, -29 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 19 8 chunks +68 lines, -25 lines 0 comments Download

Messages

Total messages: 71 (12 generated)
bcwhite
Seems like this is all that is necessary. I installed on a fresh VM and ...
5 years, 4 months ago (2015-08-14 22:03:23 UTC) #2
gab
On 2015/08/14 22:03:23, bcwhite wrote: > Seems like this is all that is necessary. I ...
5 years, 4 months ago (2015-08-18 01:22:54 UTC) #3
bcwhite
On 2015/08/18 01:22:54, gab wrote: > On 2015/08/14 22:03:23, bcwhite wrote: > > Seems like ...
5 years, 4 months ago (2015-08-24 13:19:50 UTC) #4
gab
On 2015/08/24 13:19:50, bcwhite wrote: > On 2015/08/18 01:22:54, gab wrote: > > On 2015/08/14 ...
5 years, 4 months ago (2015-08-24 22:05:39 UTC) #5
bcwhite
> > I'll verify that. It looks like update always deletes shortcuts from all > ...
5 years, 4 months ago (2015-08-25 00:39:58 UTC) #6
gab
On 2015/08/25 00:39:58, bcwhite wrote: > > > I'll verify that. It looks like update ...
5 years, 4 months ago (2015-08-25 02:03:03 UTC) #7
bcwhite
Okay, getting back to this... I've added code to detect the migration case and do ...
5 years, 3 months ago (2015-09-16 19:32:14 UTC) #8
bcwhite
On 2015/09/16 19:32:14, bcwhite wrote: > Okay, getting back to this... > > I've added ...
5 years, 3 months ago (2015-09-21 16:32:59 UTC) #9
grt (UTC plus 2)
https://codereview.chromium.org/1289333005/diff/160001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/160001/chrome/installer/setup/install.cc#newcode442 chrome/installer/setup/install.cc:442: if (!ExecuteAndLogShortcutOperation( how does this interact with pins in ...
5 years, 3 months ago (2015-09-22 20:28:53 UTC) #11
gab
Sorry for the delay, perf+vacation brought a long no code review session... https://codereview.chromium.org/1289333005/diff/160001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc ...
5 years, 2 months ago (2015-09-28 15:44:51 UTC) #12
bcwhite
> > how does this interact with pins in the start screen/menu and taskbar? i ...
5 years, 2 months ago (2015-10-08 20:25:18 UTC) #13
bcwhite
> wasn't removed but doing it all again today I'm not having any problems at ...
5 years, 2 months ago (2015-10-08 23:33:58 UTC) #14
bcwhite
https://codereview.chromium.org/1289333005/diff/160001/chrome/installer/setup/install_unittest.cc File chrome/installer/setup/install_unittest.cc (right): https://codereview.chromium.org/1289333005/diff/160001/chrome/installer/setup/install_unittest.cc#newcode381 chrome/installer/setup/install_unittest.cc:381: TEST_F(InstallShortcutTest, MigrateExisting) { Investigating these... > - MigrateNonExisting This ...
5 years, 2 months ago (2015-10-09 01:43:11 UTC) #15
grt (UTC plus 2)
On 2015/10/08 20:25:18, bcwhite wrote: > > > how does this interact with pins in ...
5 years, 2 months ago (2015-10-09 15:11:36 UTC) #16
bcwhite
On 2015/10/09 15:11:36, grt (very slow until Oct 12) wrote: > On 2015/10/08 20:25:18, bcwhite ...
5 years, 2 months ago (2015-10-09 17:49:49 UTC) #17
bcwhite
On 2015/10/09 17:49:49, bcwhite wrote: > On 2015/10/09 15:11:36, grt (very slow until Oct 12) ...
5 years, 2 months ago (2015-10-09 19:15:31 UTC) #18
gab
lg (I also assume you don't have an issue with installing the same version over ...
5 years, 2 months ago (2015-10-13 19:35:09 UTC) #19
bcwhite
https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc#newcode446 chrome/installer/setup/install.cc:446: // to explicitly remove the old one and force-create ...
5 years, 2 months ago (2015-10-15 18:29:35 UTC) #20
gab
@grt: see question for you below Thanks, Gab https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc#newcode456 chrome/installer/setup/install.cc:456: } ...
5 years, 2 months ago (2015-10-15 18:55:06 UTC) #21
bcwhite
https://codereview.chromium.org/1289333005/diff/220001/chrome/installer/setup/install_unittest.cc File chrome/installer/setup/install_unittest.cc (right): https://codereview.chromium.org/1289333005/diff/220001/chrome/installer/setup/install_unittest.cc#newcode156 chrome/installer/setup/install_unittest.cc:156: base::win::UnpinShortcutFromStart(system_start_menu_subdir_shortcut_); On 2015/10/15 18:55:06, gab wrote: > Also need ...
5 years, 2 months ago (2015-10-15 20:12:19 UTC) #22
bcwhite
@grt, good with you?
5 years, 2 months ago (2015-10-19 14:20:32 UTC) #23
gab
On 2015/10/19 14:20:32, bcwhite wrote: > @grt, good with you? In particuliar, PTAL @ question ...
5 years, 2 months ago (2015-10-19 16:46:07 UTC) #24
chromium-reviews
Link doesn't work for me, but the content is: > > I suggest changing MoveExistingShortcut() ...
5 years, 2 months ago (2015-10-19 16:58:32 UTC) #25
grt (UTC plus 2)
https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/200001/chrome/installer/setup/install.cc#newcode456 chrome/installer/setup/install.cc:456: } On 2015/10/15 18:55:06, gab wrote: > On 2015/10/15 ...
5 years, 2 months ago (2015-10-19 17:28:45 UTC) #26
gab
+1 to grt's comments (+an unsent draft from me this morning) https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install_unittest.cc File chrome/installer/setup/install_unittest.cc (right): ...
5 years, 2 months ago (2015-10-19 18:00:14 UTC) #27
bcwhite
https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc#newcode443 chrome/installer/setup/install.cc:443: // Move start-menu shortcuts out of the deprecated Chrome ...
5 years, 2 months ago (2015-10-20 16:02:13 UTC) #28
bcwhite
jhawkins@chromium.org: Please review changes in chrome/browser (new name for constant)
5 years, 2 months ago (2015-10-20 16:17:09 UTC) #30
grt (UTC plus 2)
https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc#newcode122 chrome/installer/setup/install.cc:122: bool ExecuteAndLogShortcutOperation( On 2015/10/19 17:28:44, grt wrote: > this ...
5 years, 2 months ago (2015-10-20 18:10:30 UTC) #31
bcwhite
https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1289333005/diff/240001/chrome/installer/setup/install.cc#newcode122 chrome/installer/setup/install.cc:122: bool ExecuteAndLogShortcutOperation( On 2015/10/20 18:10:30, grt wrote: > On ...
5 years, 2 months ago (2015-10-20 18:25:43 UTC) #32
gab
A couple more comments, otherwise this looks very good :-). Thanks! Gab https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc ...
5 years, 2 months ago (2015-10-20 18:26:00 UTC) #33
bcwhite
https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc (right): https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc#newcode576 chrome/browser/web_applications/web_app_win.cc:576: APP_MENU_LOCATION_SUBDIR_CHROME, On 2015/10/20 18:25:59, gab wrote: > Should also ...
5 years, 2 months ago (2015-10-20 19:03:12 UTC) #34
grt (UTC plus 2)
+cc benwells to comment on the location of the "Chrome App Launcher" shortcut. https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc File ...
5 years, 2 months ago (2015-10-22 17:31:11 UTC) #35
gab
Responding below. PS: git cl format -- yea I also use a script that does ...
5 years, 2 months ago (2015-10-22 21:34:45 UTC) #36
bcwhite
https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc (right): https://codereview.chromium.org/1289333005/diff/300001/chrome/browser/web_applications/web_app_win.cc#newcode576 chrome/browser/web_applications/web_app_win.cc:576: APP_MENU_LOCATION_SUBDIR_CHROME, On 2015/10/22 17:31:11, grt wrote: > On 2015/10/20 ...
5 years, 2 months ago (2015-10-23 17:22:14 UTC) #37
gab
@benwells questions for you below. lgtm % nits for this CL assuming a follow-up to ...
5 years, 2 months ago (2015-10-23 18:00:23 UTC) #38
bcwhite
https://codereview.chromium.org/1289333005/diff/420001/chrome/browser/web_applications/web_app.h File chrome/browser/web_applications/web_app.h (right): https://codereview.chromium.org/1289333005/diff/420001/chrome/browser/web_applications/web_app.h#newcode81 chrome/browser/web_applications/web_app.h:81: APP_MENU_LOCATION_SUBDIR_CHROME_DEPRECATED, On 2015/10/23 18:00:23, gab wrote: > Despite my ...
5 years, 2 months ago (2015-10-23 18:08:31 UTC) #39
bcwhite
+ benwells What should be done with APP_MENU_LOCATION_SUBDIR_CHROME?
5 years, 2 months ago (2015-10-23 18:09:48 UTC) #41
benwells
On 2015/10/23 18:09:48, bcwhite wrote: > + benwells > > What should be done with ...
5 years, 1 month ago (2015-10-26 01:56:19 UTC) #42
benwells
On 2015/10/23 18:00:23, gab wrote: > @benwells questions for you below. > > lgtm % ...
5 years, 1 month ago (2015-10-26 02:02:08 UTC) #43
gab
lgtm w/ comment below and follow-up for App Launcher shortcut move. Thanks! Gab https://codereview.chromium.org/1289333005/diff/460001/chrome/browser/ui/views/app_list/win/app_list_service_win.cc File ...
5 years, 1 month ago (2015-10-26 19:16:17 UTC) #44
bcwhite
> https://codereview.chromium.org/1289333005/diff/460001/chrome/browser/ui/views/app_list/win/app_list_service_win.cc > File chrome/browser/ui/views/app_list/win/app_list_service_win.cc (right): > > https://codereview.chromium.org/1289333005/diff/460001/chrome/browser/ui/views/app_list/win/app_list_service_win.cc#newcode309 > chrome/browser/ui/views/app_list/win/app_list_service_win.cc:309: > web_app::APP_MENU_LOCATION_ROOT; > Should ...
5 years, 1 month ago (2015-10-26 22:46:48 UTC) #46
bcwhite
On 2015/10/26 22:46:48, bcwhite wrote: > > > https://codereview.chromium.org/1289333005/diff/460001/chrome/browser/ui/views/app_list/win/app_list_service_win.cc > > File chrome/browser/ui/views/app_list/win/app_list_service_win.cc (right): > ...
5 years, 1 month ago (2015-10-26 22:47:27 UTC) #47
benwells
I'm only an owner for three of those files, but they lgtm
5 years, 1 month ago (2015-10-27 00:30:22 UTC) #48
bcwhite
On 2015/10/27 00:30:22, benwells wrote: > I'm only an owner for three of those files, ...
5 years, 1 month ago (2015-10-27 11:48:45 UTC) #49
James Hawkins
lgtm
5 years, 1 month ago (2015-10-27 18:42:19 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289333005/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289333005/440001
5 years, 1 month ago (2015-10-27 18:59:27 UTC) #52
commit-bot: I haz the power
Committed patchset #23 (id:440001)
5 years, 1 month ago (2015-10-27 19:40:05 UTC) #53
commit-bot: I haz the power
Patchset 23 (id:??) landed as https://crrev.com/c5bab94fdde60b2bc9ed93822f35c5ce50202d26 Cr-Commit-Position: refs/heads/master@{#356371}
5 years, 1 month ago (2015-10-27 19:41:03 UTC) #54
gab
A revert of this CL (patchset #23 id:440001) has been created in https://codereview.chromium.org/1405993006/ by gab@chromium.org. ...
5 years, 1 month ago (2015-10-30 02:23:45 UTC) #55
gab
On 2015/10/30 02:23:45, gab wrote: > A revert of this CL (patchset #23 id:440001) has ...
5 years, 1 month ago (2015-10-30 02:27:33 UTC) #56
bcwhite
Preparing to re-submit now that cl/1438793002 has paved the way for restart. Part of that ...
5 years, 1 month ago (2015-11-19 16:02:42 UTC) #58
bcwhite
jochen@chromium.org: Please review changes in chrome_browser_main_win.cc The only change is from SHORTCUT_LOCATION_START_MENU_CHROME_DIR to SHORTCUT_LOCATION_START_MENU_CHROME_DIR_DEPRECATED plus ...
5 years, 1 month ago (2015-11-19 16:04:48 UTC) #60
gab
re-lgtm, thanks
5 years, 1 month ago (2015-11-19 16:25:21 UTC) #61
grt (UTC plus 2)
lgtm
5 years, 1 month ago (2015-11-19 17:36:24 UTC) #62
benwells
still lgtm
5 years, 1 month ago (2015-11-19 19:12:28 UTC) #64
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-20 13:44:39 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289333005/500001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289333005/500001
5 years, 1 month ago (2015-11-20 18:19:58 UTC) #69
commit-bot: I haz the power
Committed patchset #25 (id:500001)
5 years, 1 month ago (2015-11-20 18:59:56 UTC) #70
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 19:00:43 UTC) #71
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/f440aa1a1e31c13ffc981612f50f330e944e2bb4
Cr-Commit-Position: refs/heads/master@{#360867}

Powered by Google App Engine
This is Rietveld 408576698