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

Issue 2188253002: predictors: Don't cancel the request when IO is pending. (Closed)

Created:
4 years, 4 months ago by Benoit L
Modified:
4 years, 4 months ago
Reviewers:
pasko
CC:
chromium-reviews, shishir+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: Don't cancel the request when IO is pending. In resource_prefetch_predictor, when reading the response of a prefetch request, the request is marked as failed (and aborted) when the status is IO_PENDING. This is not intended. BUG=629424 Committed: https://crrev.com/dbcaba59119dd7d4efaf71f4a0ab9e3a410b6e7c Cr-Commit-Position: refs/heads/master@{#408614}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/browser/predictors/resource_prefetcher.cc View 3 chunks +3 lines, -3 lines 2 comments Download

Messages

Total messages: 13 (7 generated)
Benoit L
4 years, 4 months ago (2016-07-28 16:27:13 UTC) #2
pasko
nice find! https://codereview.chromium.org/2188253002/diff/1/chrome/browser/predictors/resource_prefetcher.cc File chrome/browser/predictors/resource_prefetcher.cc (right): https://codereview.chromium.org/2188253002/diff/1/chrome/browser/predictors/resource_prefetcher.cc#newcode180 chrome/browser/predictors/resource_prefetcher.cc:180: } else if (!request->status().is_success()) { I could ...
4 years, 4 months ago (2016-07-29 09:35:29 UTC) #3
pasko
lgtm https://codereview.chromium.org/2188253002/diff/1/chrome/browser/predictors/resource_prefetcher.cc File chrome/browser/predictors/resource_prefetcher.cc (right): https://codereview.chromium.org/2188253002/diff/1/chrome/browser/predictors/resource_prefetcher.cc#newcode180 chrome/browser/predictors/resource_prefetcher.cc:180: } else if (!request->status().is_success()) { On 2016/07/29 09:35:29, ...
4 years, 4 months ago (2016-07-29 09:40:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2188253002/1
4 years, 4 months ago (2016-07-29 10:49:28 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-29 10:53:11 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 10:55:07 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/dbcaba59119dd7d4efaf71f4a0ab9e3a410b6e7c
Cr-Commit-Position: refs/heads/master@{#408614}

Powered by Google App Engine
This is Rietveld 408576698