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

Issue 1866483002: Add a new priority level, THROTTLED, below IDLE. (Closed)

Created:
4 years, 8 months ago by Randy Smith (Not in Mondays)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, loading-reviews_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a new priority level, THROTTLED, below IDLE. THROTTLED is used when the consumer is expecting that low priority requests will soon be followed by higher priority ones. It directs the network stack to reserve resources to handle the coming requests. In practice this will mean that only a very small number of THROTTLED requests may be outstanding at any given time. BUG=600839 Committed: https://crrev.com/5eb6fbc3c9488ec131081ac9090696af47125ae7 Cr-Commit-Position: refs/heads/master@{#426831}

Patch Set 1 #

Patch Set 2 : Sync'd to p390110 #

Total comments: 16

Patch Set 3 : Sync'd to p392237 #

Patch Set 4 : Incorporated comments. #

Total comments: 2

Patch Set 5 : Added requested test. #

Patch Set 6 : Sync'd to p396735 #

Patch Set 7 : Sync'd to p404484. #

Patch Set 8 : Sync to ToT. #

Patch Set 9 : Sync'd to p413382. #

Patch Set 10 : Syncing to p420478. #

Patch Set 11 : Fix merge typo. #

Patch Set 12 : Sync'd to p426538 #

Patch Set 13 : Adjusted predictor priorities. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -17 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor.proto View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_tables.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +10 lines, -0 lines 1 comment Download
M content/browser/loader/async_revalidation_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M net/base/prioritized_dispatcher_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M net/base/request_priority.h View 1 chunk +6 lines, -2 lines 0 comments Download
M net/base/request_priority.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_utils.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -5 lines 0 comments Download
M net/spdy/spdy_http_utils_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 58 (33 generated)
Randy Smith (Not in Mondays)
Matt, based on our discussion of CL granularity, I think this is ready for review. ...
4 years, 7 months ago (2016-05-07 02:37:07 UTC) #2
mmenke
Think one of our end-to-end tests at the URLRequest layer should probably use THROTTLED, out ...
4 years, 7 months ago (2016-05-09 19:25:42 UTC) #3
Randy Smith (Not in Mondays)
Comments incorporated. PTAL? Matt: I'm specifically uncertain as to whether I've done what you wanted ...
4 years, 7 months ago (2016-05-11 21:30:25 UTC) #4
mmenke
QUIC responses https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc File net/quic/quic_http_utils.cc (right): https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc#newcode19 net/quic/quic_http_utils.cc:19: ConvertQuicPriorityToRequestPriority(SpdyPriority priority) { On 2016/05/11 21:30:25, Randy ...
4 years, 7 months ago (2016-05-11 21:56:09 UTC) #5
Randy Smith (Not in Mondays)
https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc File net/quic/quic_http_utils.cc (right): https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc#newcode19 net/quic/quic_http_utils.cc:19: ConvertQuicPriorityToRequestPriority(SpdyPriority priority) { On 2016/05/11 21:56:08, mmenke wrote: > ...
4 years, 7 months ago (2016-05-11 22:04:28 UTC) #6
mmenke
https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc File net/quic/quic_http_utils.cc (right): https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc#newcode19 net/quic/quic_http_utils.cc:19: ConvertQuicPriorityToRequestPriority(SpdyPriority priority) { On 2016/05/11 22:04:28, Randy Smith - ...
4 years, 7 months ago (2016-05-11 22:10:50 UTC) #7
Randy Smith (Not in Mondays)
On 2016/05/11 22:10:50, mmenke wrote: > https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc > File net/quic/quic_http_utils.cc (right): > > https://codereview.chromium.org/1866483002/diff/20001/net/quic/quic_http_utils.cc#newcode19 > ...
4 years, 7 months ago (2016-05-12 18:17:21 UTC) #8
mmenke
On 2016/05/12 18:17:21, Randy Smith - Not in Fridays wrote: > On 2016/05/11 22:10:50, mmenke ...
4 years, 7 months ago (2016-05-12 18:30:57 UTC) #9
Randy Smith (Not in Mondays)
On 2016/05/12 18:30:57, mmenke wrote: > On 2016/05/12 18:17:21, Randy Smith - Not in Fridays ...
4 years, 7 months ago (2016-05-12 18:46:35 UTC) #12
Ryan Hamilton
I think this all looks fine but I'm a bit lost with respect to throttled ...
4 years, 7 months ago (2016-05-12 22:25:47 UTC) #13
mmenke
On 2016/05/12 22:25:47, Ryan Hamilton wrote: > I think this all looks fine but I'm ...
4 years, 7 months ago (2016-05-13 21:28:24 UTC) #14
Ryan Hamilton
On 2016/05/13 21:28:24, mmenke wrote: > On 2016/05/12 22:25:47, Ryan Hamilton wrote: > > I'm ...
4 years, 7 months ago (2016-05-13 22:11:30 UTC) #15
mmenke
On 2016/05/13 22:11:30, Ryan Hamilton wrote: > On 2016/05/13 21:28:24, mmenke wrote: > > On ...
4 years, 7 months ago (2016-05-13 22:17:39 UTC) #16
Randy Smith (Not in Mondays)
Ok, if I'm following the threads correctly, I think this change is the only outstanding ...
4 years, 7 months ago (2016-05-14 18:17:40 UTC) #17
Randy Smith (Not in Mondays)
Ping?
4 years, 7 months ago (2016-05-17 23:33:12 UTC) #18
Ryan Hamilton
Oh, sorry. LGTM
4 years, 7 months ago (2016-05-17 23:51:49 UTC) #19
mmenke
On 2016/05/17 23:51:49, Ryan Hamilton wrote: > Oh, sorry. LGTM Sorry, forgot about this one, ...
4 years, 7 months ago (2016-05-18 21:46:42 UTC) #20
mmenke
LGTM as well
4 years, 7 months ago (2016-05-18 21:49:04 UTC) #21
Ryan Hamilton
Still LGTM, but removing myself since this CL seems idle. Feel free to add me ...
4 years, 6 months ago (2016-06-16 19:05:25 UTC) #22
Randy Smith (Not in Mondays)
Fix merge typo.
4 years, 3 months ago (2016-09-23 21:13:18 UTC) #36
Randy Smith (Not in Mondays)
Benoit: Could you comment on the PS 12->13 diffs (which, not coincidentally, contains all the ...
4 years, 2 months ago (2016-10-21 15:21:08 UTC) #48
Benoit L
predictors LGTM, thanks! https://codereview.chromium.org/1866483002/diff/240001/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc File chrome/browser/predictors/resource_prefetch_predictor_unittest.cc (right): https://codereview.chromium.org/1866483002/diff/240001/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc#newcode443 chrome/browser/predictors/resource_prefetch_predictor_unittest.cc:443: // Confirm that there's been no ...
4 years, 2 months ago (2016-10-21 16:51:20 UTC) #51
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/1866483002/240001
4 years, 2 months ago (2016-10-21 17:15:29 UTC) #54
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 2 months ago (2016-10-21 17:36:50 UTC) #56
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 17:41:16 UTC) #58
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/5eb6fbc3c9488ec131081ac9090696af47125ae7
Cr-Commit-Position: refs/heads/master@{#426831}

Powered by Google App Engine
This is Rietveld 408576698