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

Issue 10544075: Remove NPChannelBase from cache on error. (Closed)

Created:
8 years, 6 months ago by Scott Hess - ex-Googler
Modified:
8 years, 6 months ago
Reviewers:
brettw, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Remove NPChannelBase from cache on error. Normal channel shutdown (as for navigation) goes via RemoveRoute(), which removes the channel from the cache. It looks like OnChannelError() is expected to call RemoveRoute() at some point during cleanup, but sometimes the channel is left in the cache and re-vended (as measured by previous instrumentation). Defensively rename channels which see an error so that they aren't found in the cache in the future. BUG=97285 TEST=no user-visible change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141279

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M content/common/np_channel_base.cc View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Scott Hess - ex-Googler
I think you have the most autocomplete aliases of any reviewer I've seen. Another alternative ...
8 years, 6 months ago (2012-06-08 16:32:49 UTC) #1
piman
lgtm
8 years, 6 months ago (2012-06-08 17:03:21 UTC) #2
Scott Hess - ex-Googler
Brett for OWNERS. thx
8 years, 6 months ago (2012-06-08 17:15:05 UTC) #3
brettw
lgtm
8 years, 6 months ago (2012-06-08 17:59:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/10544075/1
8 years, 6 months ago (2012-06-08 18:10:05 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 20:44:32 UTC) #6
Change committed as 141279

Powered by Google App Engine
This is Rietveld 408576698