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

Issue 8371023: Calls to rph updating existing handlers are ignored. (Closed)

Created:
9 years, 2 months ago by benwells
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Calls to rph updating existing handlers are ignored. This happens when a handler is registered, where there is already a handler with the same origin and scheme already registered. These calls should go through the the registry and update the registered handler, and now do. This was broken recently however the unit tests did not catch the problem, because the key logic was in browser.cc. That logic has been moved into the registry and a test added. BUG=99926 TEST=Unit test added. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107052

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -9 lines) Patch
M chrome/browser/custom_handlers/protocol_handler_registry.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.cc View 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
benwells
9 years, 2 months ago (2011-10-24 06:26:06 UTC) #1
tony
LGTM
9 years, 2 months ago (2011-10-24 17:25:04 UTC) #2
koz (OOO until 15th September)
lgtm
9 years, 2 months ago (2011-10-24 19:51:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/8371023/1
9 years, 2 months ago (2011-10-25 00:38:53 UTC) #4
commit-bot: I haz the power
9 years, 2 months ago (2011-10-25 03:07:42 UTC) #5
Change committed as 107052

Powered by Google App Engine
This is Rietveld 408576698