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

Issue 10916018: Force COM machinery to notice that the path to the DelegateExecute verb handler has changed. (Closed)

Created:
8 years, 3 months ago by grt (UTC plus 2)
Modified:
8 years, 3 months ago
Reviewers:
robertshield, sky
CC:
chromium-reviews, grt+watch_chromium.org, chrome-win8-eng_google.com
Visibility:
Public.

Description

Force COM machinery to notice that the path to the DelegateExecute verb handler has changed. On update, the path to the local COM server hosting the component changes. Although the installer updates the path in the registry, it seems that the COM service that runs the handler doesn't notice this. As a result, Chrome shortcuts stop working after updates. This change forces COM to notice that the path has changed by attempting to instantiate the class after deleting the registration. This forces COM to flush its cache, making subsequent uses of the handler by the shell succeed. BUG=143338 TEST=see bug TBR=sky@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154352

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed robert's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -8 lines) Patch
M chrome/chrome_installer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_installer_util.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 7 chunks +41 lines, -7 lines 0 comments Download
A chrome/installer/util/callback_work_item.h View 1 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/installer/util/callback_work_item.cc View 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/installer/util/callback_work_item_unittest.cc View 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item.h View 1 4 chunks +12 lines, -1 line 0 comments Download
M chrome/installer/util/work_item.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item_list.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/installer/util/work_item_list.cc View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
grt (UTC plus 2)
8 years, 3 months ago (2012-08-30 17:31:20 UTC) #1
robertshield
looks great, coupla questions https://chromiumcodereview.appspot.com/10916018/diff/1/chrome/installer/util/callback_work_item.cc File chrome/installer/util/callback_work_item.cc (right): https://chromiumcodereview.appspot.com/10916018/diff/1/chrome/installer/util/callback_work_item.cc#newcode25 chrome/installer/util/callback_work_item.cc:25: roll_state_ = RS_UNDEFINED; Should we ...
8 years, 3 months ago (2012-08-30 17:52:43 UTC) #2
robertshield
On 2012/08/30 17:52:43, robertshield wrote: > looks great, looks great -> LGTM coupla questions > ...
8 years, 3 months ago (2012-08-30 17:56:06 UTC) #3
grt (UTC plus 2)
thanks. TBR'ing @sky for chrome/*.gypi changes. https://chromiumcodereview.appspot.com/10916018/diff/1/chrome/installer/util/callback_work_item.cc File chrome/installer/util/callback_work_item.cc (right): https://chromiumcodereview.appspot.com/10916018/diff/1/chrome/installer/util/callback_work_item.cc#newcode25 chrome/installer/util/callback_work_item.cc:25: roll_state_ = RS_UNDEFINED; ...
8 years, 3 months ago (2012-08-30 18:21:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10916018/7001
8 years, 3 months ago (2012-08-30 21:32:53 UTC) #5
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 02:22:54 UTC) #6
Change committed as 154352

Powered by Google App Engine
This is Rietveld 408576698