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

Issue 10451023: Avoid double calling OnResponseStarted from BufferedResourceHandler (Closed)

Created:
8 years, 7 months ago by Randy Smith (Not in Mondays)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Avoid double calling OnResponseStarted from BufferedResourceHandler BUG=129646 R=darin@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139295

Patch Set 1 #

Patch Set 2 : Change to call OnResponseStarted when we *don't* use an alternate resource handler. #

Patch Set 3 : Put in a DCHECK to have something to test against. #

Total comments: 2

Patch Set 4 : Incorporated comments. #

Patch Set 5 : Sync'd to LKGR. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M content/browser/download/download_resource_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/buffered_resource_handler.cc View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Randy Smith (Not in Mondays)
Darin: PTAL? Two notes: * I did see this in one of my sandboxes, but ...
8 years, 7 months ago (2012-05-25 21:21:15 UTC) #1
darin (slow to review)
LGTM http://codereview.chromium.org/10451023/diff/6002/content/browser/renderer_host/buffered_resource_handler.cc File content/browser/renderer_host/buffered_resource_handler.cc (right): http://codereview.chromium.org/10451023/diff/6002/content/browser/renderer_host/buffered_resource_handler.cc#newcode285 content/browser/renderer_host/buffered_resource_handler.cc:285: } else if (info->allow_download() && ShouldDownload(NULL)) { thanks ...
8 years, 7 months ago (2012-05-25 21:24:34 UTC) #2
Randy Smith (Not in Mondays)
Thanks! http://codereview.chromium.org/10451023/diff/6002/content/browser/renderer_host/buffered_resource_handler.cc File content/browser/renderer_host/buffered_resource_handler.cc (right): http://codereview.chromium.org/10451023/diff/6002/content/browser/renderer_host/buffered_resource_handler.cc#newcode285 content/browser/renderer_host/buffered_resource_handler.cc:285: } else if (info->allow_download() && ShouldDownload(NULL)) { On ...
8 years, 6 months ago (2012-05-28 03:07:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10451023/1004
8 years, 6 months ago (2012-05-29 13:58:15 UTC) #4
commit-bot: I haz the power
8 years, 6 months ago (2012-05-29 15:15:10 UTC) #5
Change committed as 139295

Powered by Google App Engine
This is Rietveld 408576698