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

Issue 1153093002: Implement URLRequestBackoffManager for managing Backoff headers (Closed)

Created:
5 years, 7 months ago by xunjieli
Modified:
5 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement URLRequestBackoffManager for managing Backoff headers This CL implemented a URLRequestBackoffManager to manage Backoff response headers. This new feature is off by default in this CL. Design doc: https://docs.google.com/document/d/1aAxwXK7Vw3VigFd6MmrItbAIgMdKAf-XxXXbhWXdID0/edit?usp=sharing BUG=486891 Committed: https://crrev.com/3bb781a314aa895fd1eb576689ec4f452fbe0c4b Cr-Commit-Position: refs/heads/master@{#339961}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address Matt's comments #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 10

Patch Set 4 : Address Carlo's comments #

Patch Set 5 : Fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+660 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/localized_error.cc View 1 4 1 chunk +7 lines, -0 lines 0 comments Download
M net/base/net_error_list.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A net/url_request/url_request_backoff_manager.h View 1 2 3 1 chunk +136 lines, -0 lines 0 comments Download
A net/url_request/url_request_backoff_manager.cc View 1 chunk +144 lines, -0 lines 0 comments Download
A net/url_request/url_request_backoff_manager_unittest.cc View 1 chunk +117 lines, -0 lines 0 comments Download
M net/url_request/url_request_context.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 2 chunks +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 3 chunks +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_storage.h View 3 chunks +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_storage.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 3 4 chunks +9 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 chunks +42 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job_unittest.cc View 1 2 3 4 2 chunks +159 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
xunjieli
Hi ttuttle, this is the CL that I talked about earlier. Thanks for the review ...
5 years, 5 months ago (2015-07-06 13:58:40 UTC) #11
mmenke
A couple drive by comments - didn't look over the entire CL (And don't plan ...
5 years, 5 months ago (2015-07-07 21:33:10 UTC) #13
xunjieli
Thanks for the feedback! Uploaded a new patch to address the comments. ttuttle@, could you ...
5 years, 5 months ago (2015-07-08 16:10:50 UTC) #14
xunjieli
Hey ttuttle, it's been a week, just a friendly ping to make sure this is ...
5 years, 5 months ago (2015-07-13 20:00:47 UTC) #16
Deprecated (see juliatuttle)
Looking good; just want a couple comments. https://codereview.chromium.org/1153093002/diff/180001/net/url_request/url_request_backoff_manager.cc File net/url_request/url_request_backoff_manager.cc (right): https://codereview.chromium.org/1153093002/diff/180001/net/url_request/url_request_backoff_manager.cc#newcode66 net/url_request/url_request_backoff_manager.cc:66: // Allow ...
5 years, 5 months ago (2015-07-13 20:30:41 UTC) #17
xunjieli
https://codereview.chromium.org/1153093002/diff/180001/net/url_request/url_request_backoff_manager.cc File net/url_request/url_request_backoff_manager.cc (right): https://codereview.chromium.org/1153093002/diff/180001/net/url_request/url_request_backoff_manager.cc#newcode66 net/url_request/url_request_backoff_manager.cc:66: // Allow one request between throttled_time and release_time. On ...
5 years, 5 months ago (2015-07-13 20:53:38 UTC) #19
Deprecated (see juliatuttle)
Thanks, lgtm!
5 years, 5 months ago (2015-07-13 21:21:26 UTC) #20
xunjieli
+ cpu@, Hi Carlos, could you take a look at chrome/common/localized_error.cc? You are welcomed to ...
5 years, 5 months ago (2015-07-14 13:56:03 UTC) #24
cpu_(ooo_6.6-7.5)
looking at it right now...
5 years, 5 months ago (2015-07-17 19:34:45 UTC) #25
cpu_(ooo_6.6-7.5)
this looks good. Here is my first pass. https://codereview.chromium.org/1153093002/diff/220001/net/base/net_error_list.h File net/base/net_error_list.h (right): https://codereview.chromium.org/1153093002/diff/220001/net/base/net_error_list.h#newcode645 net/base/net_error_list.h:645: // ...
5 years, 5 months ago (2015-07-17 19:56:01 UTC) #26
xunjieli
Thanks for the review! I just realize that I forgot about the part where we ...
5 years, 5 months ago (2015-07-17 21:24:16 UTC) #27
xunjieli
Added check for accepting headers on secure connection with no ssl errors, and fixed tests. ...
5 years, 5 months ago (2015-07-20 20:02:13 UTC) #31
cpu_(ooo_6.6-7.5)
lgtm
5 years, 5 months ago (2015-07-22 20:03:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153093002/320001
5 years, 5 months ago (2015-07-22 20:06:46 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:320001)
5 years, 5 months ago (2015-07-22 22:40:44 UTC) #36
commit-bot: I haz the power
5 years, 5 months ago (2015-07-22 22:41:34 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3bb781a314aa895fd1eb576689ec4f452fbe0c4b
Cr-Commit-Position: refs/heads/master@{#339961}

Powered by Google App Engine
This is Rietveld 408576698