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

Issue 10213010: Don't register or use the DelegateExecute verb handler if it isn't present. (Closed)

Created:
8 years, 8 months ago by grt (UTC plus 2)
Modified:
8 years, 8 months ago
CC:
chromium-reviews, grt+watch_chromium.org, gab, robertshield
Visibility:
Public.

Description

Don't register or use the DelegateExecute verb handler if it isn't present. BUG=124666, 123994 TEST=install canary on a win8 box and note that the DelegateExecute verb handler isn't registered in HKCR and that registration for shell verbs don't refer to it. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133995

Patch Set 1 #

Patch Set 2 : added code to not set the handler on shell verb registration #

Total comments: 21

Patch Set 3 : hi gab #

Total comments: 4

Patch Set 4 : addressed comments #

Patch Set 5 : logging tweak #

Total comments: 2

Patch Set 6 : moar logging tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -29 lines) Patch
M chrome/installer/setup/install_worker.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 5 6 chunks +17 lines, -8 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 1 chunk +13 lines, -9 lines 0 comments Download
M chrome/installer/util/install_util.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 3 chunks +47 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
grt (UTC plus 2)
This should make the COM registration for the DelegateExecute verb handler conditional on the handler ...
8 years, 8 months ago (2012-04-24 21:56:09 UTC) #1
gab
Arg... I can't upload as I don't "own" this issue... I g2g for now, but ...
8 years, 8 months ago (2012-04-24 22:36:19 UTC) #2
grt (UTC plus 2)
Here's a CL that inhibits DelegateExecute handler registration and use when the actual binary isn't ...
8 years, 8 months ago (2012-04-25 03:30:28 UTC) #3
grt (UTC plus 2)
On 2012/04/25 03:30:28, grt wrote: > I don't think we need to bend over backwards ...
8 years, 8 months ago (2012-04-25 03:39:59 UTC) #4
gab
See CR comments inline below. I'm also wondering whether the dual-mode properties set on the ...
8 years, 8 months ago (2012-04-25 05:18:29 UTC) #5
grt (UTC plus 2)
Thanks for the comments; PTAL. My gut tells me that we should do what we ...
8 years, 8 months ago (2012-04-25 13:05:11 UTC) #6
gab
More comments inline. https://chromiumcodereview.appspot.com/10213010/diff/6001/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): https://chromiumcodereview.appspot.com/10213010/diff/6001/chrome/installer/setup/install_worker.cc#newcode1098 chrome/installer/setup/install_worker.cc:1098: // TODO(grt): remove the extra check ...
8 years, 8 months ago (2012-04-25 13:44:02 UTC) #7
gab
> I'm also wondering whether the dual-mode properties set on the shortcut are > going ...
8 years, 8 months ago (2012-04-25 13:46:33 UTC) #8
grt (UTC plus 2)
PTAL. Now with egregious removal code! https://chromiumcodereview.appspot.com/10213010/diff/6001/chrome/installer/util/install_util.cc File chrome/installer/util/install_util.cc (right): https://chromiumcodereview.appspot.com/10213010/diff/6001/chrome/installer/util/install_util.cc#newcode347 chrome/installer/util/install_util.cc:347: if (!version.get()) { ...
8 years, 8 months ago (2012-04-25 14:33:49 UTC) #9
gab
LGTM, one last comment about logging below. https://chromiumcodereview.appspot.com/10213010/diff/10005/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): https://chromiumcodereview.appspot.com/10213010/diff/10005/chrome/installer/setup/install_worker.cc#newcode1180 chrome/installer/setup/install_worker.cc:1180: VLOG(1) << ...
8 years, 8 months ago (2012-04-25 14:59:05 UTC) #10
grt (UTC plus 2)
Done, thanks. The removal code works for me when updating a dev channel install on ...
8 years, 8 months ago (2012-04-25 15:09:21 UTC) #11
gab
On 2012/04/25 15:09:21, grt wrote: > Done, thanks. > > The removal code works for ...
8 years, 8 months ago (2012-04-25 15:16:35 UTC) #12
gab
I heard you say you committed this right? However it's not in the CQ nor ...
8 years, 8 months ago (2012-04-25 18:57:29 UTC) #13
grt (UTC plus 2)
Erik, Here's that CL I mentioned. Thanks for the review on short notice.
8 years, 8 months ago (2012-04-25 19:52:44 UTC) #14
erikwright (departed)
LGTM. It doesn't seem that it would be hard to write a test that covers ...
8 years, 8 months ago (2012-04-25 20:49:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/10213010/16003
8 years, 8 months ago (2012-04-25 20:50:39 UTC) #16
commit-bot: I haz the power
8 years, 8 months ago (2012-04-25 22:16:07 UTC) #17
Change committed as 133995

Powered by Google App Engine
This is Rietveld 408576698