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

Issue 14031025: Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. (Closed)

Created:
7 years, 8 months ago by huangs
Modified:
7 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, koz (OOO until 15th September), calamity
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. Main doc: https://docs.google.com/a/google.com/document/d/1PVS-rxGSWThdkw94-K_liYFZZzGqYCRVhH2W2EcaN_8/edit# The artifacts of the old App Launcher flow (in addition to Chrome install) are: (A1) Add / Remove entry ("Chrome Application Launcher"). (A2) Clients and ClientState registry key {FDA71E6F-AC4C-4a00-8B70-9958A68906BF} at user-level. (A3) AP value in registry (-applauncher). (A4) quick-enable-application-host app command (in Chrome Binaries). (A5) app_host.exe at user-level (alongside chrome.exe).. (A6) Google Update at user-level (https://chromiumcodereview.appspot.com/10957016/). (A7) Main shortcuts to app_host.exe on {desktop, Start Menu\Chrome App Launcher, taskbar pinned}. (A8) User-created shortcuts to app_host.exe on {desktop, Start Menu (root), taskbar pinned}. The desired new artifacts of the unified Chrome / App Launcher (in addition to Chrome install) are: (C1) Client key {FDA71E6F-AC4C-4a00-8B70-9958A68906BF} at same level as Chrome (specifically, for "version"); ClientState key at the user-level (for DidRun key "dr"). (C2) quick-enable-application-host app command (in Chrome Binaries). (C3) Main shortcuts to chrome.exe on {desktop, Start Menu\Google Chrome, taskbar pinned}. (C4) User-created shortcuts to chrome.exe on {desktop, Start Menu\Chrome Apps, taskbar pinned}. This CL makes the installer create (C1)-(C4). If an old version of App Launcher is present, then (A1)-(A8) are removed. Murkier complication to be considered (still need work; may be done) are: - Coordinating shortcut creation / migration with chrome.exe's own version (done for creation). - Mixed user-level, system-level flows; self-destruction flows. - Role of Chromium and Canary. BUG=174469

Patch Set 1 #

Total comments: 20

Patch Set 2 : Stylistic fixes. #

Patch Set 3 : Sync; version update for testing. #

Patch Set 4 : Fixing App Launcher icon resource issues. #

Patch Set 5 : Feature-complete (except for unit tests for ShellUtil shortcut update code). #

Total comments: 70

Patch Set 6 : Removing Start Menu root stuff; cleanups. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -216 lines) Patch
M chrome/installer/setup/install.cc View 1 2 3 4 5 7 chunks +81 lines, -22 lines 1 comment Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 5 8 chunks +57 lines, -54 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 3 chunks +34 lines, -25 lines 1 comment Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 2 chunks +0 lines, -21 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.h View 1 2 3 4 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.cc View 1 2 3 4 5 chunks +49 lines, -10 lines 0 comments Download
M chrome/installer/util/chrome_app_host_operations.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/installation_validator.cc View 1 2 3 4 4 chunks +5 lines, -17 lines 0 comments Download
M chrome/installer/util/installer_state.h View 1 2 3 4 5 2 chunks +16 lines, -1 line 0 comments Download
M chrome/installer/util/installer_state.cc View 1 2 3 4 5 5 chunks +44 lines, -43 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 4 chunks +51 lines, -18 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
huangs
This is still in progress; in particular, I need to finish https://chromiumcodereview.appspot.com/14287008/ first. However, it's ...
7 years, 8 months ago (2013-04-25 22:44:31 UTC) #1
gab
Some very preliminary comments/questions. There are a LOT of things happening in this CL (I'm ...
7 years, 7 months ago (2013-04-29 20:25:41 UTC) #2
huangs
The main division of task was to separate the shortcut migration stuff. For the other ...
7 years, 7 months ago (2013-04-30 14:01:49 UTC) #3
huangs
PTAL.
7 years, 7 months ago (2013-05-14 18:56:39 UTC) #4
gab
I'll need to make more than one pass on this, but here are some comments. ...
7 years, 7 months ago (2013-05-15 22:42:20 UTC) #5
huangs
I'm strongly against relying on "checking problematic intermediate stage is fine as long as we ...
7 years, 7 months ago (2013-05-16 01:02:05 UTC) #6
grt (UTC plus 2)
Hi Sam, I made an initial pass. I'll hold off on continuing until you have ...
7 years, 7 months ago (2013-05-16 14:55:52 UTC) #7
gab
On May 15, 2013 9:02 PM, <huangs@chromium.org> wrote: > > I'm strongly against relying on ...
7 years, 7 months ago (2013-05-16 15:08:19 UTC) #8
huangs
I'm not sure why you're so negative about this -- the second half of my ...
7 years, 7 months ago (2013-05-16 16:19:34 UTC) #9
huangs
Responding to changes before splitting this CL. Action items: - Wait for https://codereview.chromium.org/13864015/ - Write ...
7 years, 7 months ago (2013-05-17 20:59:24 UTC) #10
gab
Thanks for the update, will wait for decisions to be made on the design doc ...
7 years, 7 months ago (2013-05-23 14:36:46 UTC) #11
huangs
7 years, 6 months ago (2013-06-04 13:50:30 UTC) #12
Abandoning this CL.

https://chromiumcodereview.appspot.com/14031025/diff/46001/chrome/installer/s...
File chrome/installer/setup/install.cc (right):

https://chromiumcodereview.appspot.com/14031025/diff/46001/chrome/installer/s...
chrome/installer/setup/install.cc:605:
MigrateLegacyAppLauncherShortcuts(installer_state);
Do this only for user-level installs and updates, since we rely on self-destruct
to remove artifacts on system-level Chrome install or update.

https://chromiumcodereview.appspot.com/14031025/diff/46001/chrome/installer/s...
File chrome/installer/setup/setup_main.cc (right):

https://chromiumcodereview.appspot.com/14031025/diff/46001/chrome/installer/s...
chrome/installer/setup/setup_main.cc:583: }
TODO: Add comment to state that google_update::UninstallGoogleUpdate() will be
called as a result.

Powered by Google App Engine
This is Rietveld 408576698