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

Issue 11359013: Adding App Launcher shortcuts on install. (Closed)

Created:
8 years, 1 month ago by huangs
Modified:
8 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Adding App Launcher shortcuts on install. This is a direct continuation of https://codereview.chromium.org/11267023/ BUG=151626 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166608

Patch Set 1 : #

Total comments: 62

Patch Set 2 : Cleanups; adding DCHECK to ensure App Launcher-releated stuff are for user-level. #

Total comments: 22

Patch Set 3 : Reshuffling code and comments; setting app id for App Launcher. #

Patch Set 4 : Merge with refactor_chrome_shortcut_op. #

Total comments: 32

Patch Set 5 : Moving App Launcher shortcut properties initialization to ChromeAppHostOperations. #

Patch Set 6 : Fixing comments; minor rearrangements. #

Total comments: 6

Patch Set 7 : Nits; appending App Host app_id with suffix from ShellUtil::GetUserSpecificRegistrySuffix(). #

Total comments: 2

Patch Set 8 : Nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -38 lines) Patch
M chrome/installer/setup/install.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/install.cc View 1 2 3 4 5 6 9 chunks +59 lines, -22 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 6 3 chunks +14 lines, -12 lines 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.cc View 1 2 3 4 5 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/installer/util/chrome_app_host_operations.cc View 1 2 3 4 5 6 7 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 31 (0 generated)
huangs
The basic functionality has been implemented. Please talk a look.
8 years, 1 month ago (2012-10-31 22:07:31 UTC) #1
huangs
https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode430 chrome/installer/setup/install.cc:430: app_host_args.AppendSwitch(::switches::kShowAppList); Note the insertion of 2 spaces!
8 years, 1 month ago (2012-10-31 22:09:03 UTC) #2
erikwright (departed)
Looks pretty good. Some minor questions/requests. http://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): http://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode415 chrome/installer/setup/install.cc:415: // Shortcuts are ...
8 years, 1 month ago (2012-11-01 01:21:50 UTC) #3
grt (UTC plus 2)
high-level comment: this CL puts a buch of functionality intended for Chrome (e.g., ChromeShortcutOperation, ChromeShortcutProperties, ...
8 years, 1 month ago (2012-11-01 01:50:04 UTC) #4
erikwright (departed)
There was some thinking about not changing names to minimize merge problems if Gab's refactoring ...
8 years, 1 month ago (2012-11-01 02:31:21 UTC) #5
gab
I agree that everything that is no longer Chrome specific should be renamed and I'm ...
8 years, 1 month ago (2012-11-01 04:46:19 UTC) #6
huangs
PTAL. https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode289 chrome/installer/setup/install.cc:289: // based on state of installation and master ...
8 years, 1 month ago (2012-11-01 19:20:38 UTC) #7
huangs
Now bugging benwells@, to notify/confirm with him regarding app id for shortcuts AND command line ...
8 years, 1 month ago (2012-11-01 19:23:01 UTC) #8
erikwright (departed)
https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode298 chrome/installer/setup/install.cc:298: HasSwitch(installer::switches::kChromeAppLauncher); On 2012/11/01 04:46:19, gab wrote: > I feel ...
8 years, 1 month ago (2012-11-01 20:02:20 UTC) #9
erikwright (departed)
https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode424 chrome/installer/setup/install.cc:424: if (product.is_chrome_app_host()) { On 2012/11/01 19:20:38, huangs1 wrote: > ...
8 years, 1 month ago (2012-11-01 20:43:36 UTC) #10
benwells
On 2012/11/01 19:23:01, huangs1 wrote: > Now bugging benwells@, to notify/confirm with him regarding app ...
8 years, 1 month ago (2012-11-01 21:25:32 UTC) #11
erikwright (departed)
https://codereview.chromium.org/11359013/diff/3007/chrome/installer/util/chrome_app_host_distribution.cc File chrome/installer/util/chrome_app_host_distribution.cc (right): https://codereview.chromium.org/11359013/diff/3007/chrome/installer/util/chrome_app_host_distribution.cc#newcode55 chrome/installer/util/chrome_app_host_distribution.cc:55: // Should be same as AppListController::GetAppModelId(). On 2012/11/01 20:43:36, ...
8 years, 1 month ago (2012-11-02 02:40:26 UTC) #12
gab
Comments below. Cheers! Gab http://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): http://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode298 chrome/installer/setup/install.cc:298: HasSwitch(installer::switches::kChromeAppLauncher); On 2012/11/01 20:02:20, erikwright ...
8 years, 1 month ago (2012-11-02 04:19:58 UTC) #13
erikwright (departed)
http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc#newcode329 chrome/installer/setup/uninstall.cc:329: DCHECK(install_level == ShellUtil::CURRENT_USER); On 2012/11/02 04:19:58, gab wrote: > ...
8 years, 1 month ago (2012-11-02 04:31:00 UTC) #14
gab
http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc#newcode329 chrome/installer/setup/uninstall.cc:329: DCHECK(install_level == ShellUtil::CURRENT_USER); On 2012/11/02 04:31:01, erikwright wrote: > ...
8 years, 1 month ago (2012-11-02 04:39:53 UTC) #15
erikwright (departed)
http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc#newcode329 chrome/installer/setup/uninstall.cc:329: DCHECK(install_level == ShellUtil::CURRENT_USER); On 2012/11/02 04:39:54, gab wrote: > ...
8 years, 1 month ago (2012-11-02 04:48:39 UTC) #16
gab
http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/uninstall.cc#newcode329 chrome/installer/setup/uninstall.cc:329: DCHECK(install_level == ShellUtil::CURRENT_USER); On 2012/11/02 04:48:39, erikwright wrote: > ...
8 years, 1 month ago (2012-11-02 12:43:35 UTC) #17
grt (UTC plus 2)
https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/2001/chrome/installer/setup/install.cc#newcode424 chrome/installer/setup/install.cc:424: if (product.is_chrome_app_host()) { On 2012/11/01 20:02:20, erikwright wrote: > ...
8 years, 1 month ago (2012-11-02 19:55:29 UTC) #18
huangs
PTAL. https://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/3007/chrome/installer/setup/install.cc#newcode572 chrome/installer/setup/install.cc:572: if (process_app_launcher_shortcuts || process_chrome_shortcuts) { On 2012/11/01 20:43:36, ...
8 years, 1 month ago (2012-11-02 21:05:10 UTC) #19
huangs
Made big merge. PTAL.
8 years, 1 month ago (2012-11-07 19:47:33 UTC) #20
erikwright (departed)
https://chromiumcodereview.appspot.com/11359013/diff/14001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://chromiumcodereview.appspot.com/11359013/diff/14001/chrome/installer/setup/install.cc#newcode424 chrome/installer/setup/install.cc:424: if (product.is_chrome()) { So lines 424 through 441 will ...
8 years, 1 month ago (2012-11-07 21:15:30 UTC) #21
huangs
PTAL. https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc#newcode424 chrome/installer/setup/install.cc:424: if (product.is_chrome()) { On 2012/11/07 21:15:30, erikwright wrote: ...
8 years, 1 month ago (2012-11-07 21:41:59 UTC) #22
gab
Looks good, first comments post-merge. Cheers, Gab https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc#newcode144 chrome/installer/setup/install.cc:144: VLOG(1) << ...
8 years, 1 month ago (2012-11-07 21:44:39 UTC) #23
huangs
PTAL. https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/14001/chrome/installer/setup/install.cc#newcode144 chrome/installer/setup/install.cc:144: VLOG(1) << "Failed to copy master_preferences from:" On ...
8 years, 1 month ago (2012-11-07 22:14:46 UTC) #24
gab
Looks great, few details left. https://codereview.chromium.org/11359013/diff/6005/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/6005/chrome/installer/setup/install.cc#newcode614 chrome/installer/setup/install.cc:614: // Register Chrome. nit: ...
8 years, 1 month ago (2012-11-08 00:10:58 UTC) #25
huangs
Updated. PTAL. https://codereview.chromium.org/11359013/diff/6005/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11359013/diff/6005/chrome/installer/setup/install.cc#newcode614 chrome/installer/setup/install.cc:614: // Register Chrome. On 2012/11/08 00:10:58, gab ...
8 years, 1 month ago (2012-11-08 00:26:01 UTC) #26
gab
LGTM w/ nit below. FYI, I'm assuming this is always installed on a per-user basis, ...
8 years, 1 month ago (2012-11-08 00:40:07 UTC) #27
huangs
Done! https://codereview.chromium.org/11359013/diff/10003/chrome/installer/util/chrome_app_host_operations.cc File chrome/installer/util/chrome_app_host_operations.cc (right): https://codereview.chromium.org/11359013/diff/10003/chrome/installer/util/chrome_app_host_operations.cc#newcode132 chrome/installer/util/chrome_app_host_operations.cc:132: string16 baseAppId(dist->GetBaseAppId()); On 2012/11/08 00:40:07, gab wrote: > ...
8 years, 1 month ago (2012-11-08 00:44:46 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/11359013/3009
8 years, 1 month ago (2012-11-08 00:46:24 UTC) #29
gab
On 2012/11/01 21:25:32, benwells wrote: > On 2012/11/01 19:23:01, huangs1 wrote: > > Now bugging ...
8 years, 1 month ago (2012-11-08 01:48:31 UTC) #30
commit-bot: I haz the power
8 years, 1 month ago (2012-11-08 05:30:30 UTC) #31
Change committed as 166608

Powered by Google App Engine
This is Rietveld 408576698