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

Issue 2332193003: JobController3: Move MarkAlternativeServiceBroken to job controller (Closed)

Created:
4 years, 3 months ago by Zhongyi Shi
Modified:
4 years, 3 months ago
Reviewers:
Ryan Hamilton, tbansal1
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

JobController3: Move MarkAlternativeServiceBroken to job controller BUG= Committed: https://crrev.com/a692903a8ea6b8bfa576a29d64b413aeae641432 Cr-Commit-Position: refs/heads/master@{#418768}

Patch Set 1 #

Patch Set 2 : some nits #

Total comments: 9

Patch Set 3 : move logic to job controller #

Total comments: 2

Patch Set 4 : Only mark alt svc broken in OnStreamFailed, report when alt broken and main succeeds #

Patch Set 5 : rebase #

Total comments: 8

Patch Set 6 : nit #

Total comments: 5

Patch Set 7 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -164 lines) Patch
M net/http/http_stream_factory_impl_job.h View 1 2 3 4 5 chunks +8 lines, -26 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 5 chunks +4 lines, -108 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.h View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 1 2 3 4 5 6 8 chunks +53 lines, -13 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller_unittest.cc View 1 2 3 14 chunks +63 lines, -15 lines 0 comments Download
M net/http/http_stream_factory_test_util.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Zhongyi Shi
Ryan: The unittests in quic_network_transaction_unittest.cc already covers this change: https://cs.chromium.org/search/?q=ExpectBrokenAlternateProtocolMapping&sq=package:chromium&type=cs ptal!
4 years, 3 months ago (2016-09-13 01:58:07 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/2332193003/diff/20001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2332193003/diff/20001/net/http/http_stream_factory_impl_job.cc#newcode616 net/http/http_stream_factory_impl_job.cc:616: delegate_->OnAlternativeProxyServerBroken(this); Instead of requiring the job to explicitly notify ...
4 years, 3 months ago (2016-09-13 04:17:04 UTC) #3
tbansal1
https://codereview.chromium.org/2332193003/diff/20001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2332193003/diff/20001/net/http/http_stream_factory_impl_job.cc#newcode209 net/http/http_stream_factory_impl_job.cc:209: job_status_(STATUS_RUNNING), It seems that job_status_, other_job_status_ and other_job_alternative_proxy_server_ can ...
4 years, 3 months ago (2016-09-13 05:06:45 UTC) #5
Zhongyi Shi
Move code to let the controller cache alt service broken OnStreamFailed. https://codereview.chromium.org/2332193003/diff/20001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): ...
4 years, 3 months ago (2016-09-13 22:52:37 UTC) #6
Ryan Hamilton
https://codereview.chromium.org/2332193003/diff/40001/net/http/http_stream_factory_impl_job.h File net/http/http_stream_factory_impl_job.h (right): https://codereview.chromium.org/2332193003/diff/40001/net/http/http_stream_factory_impl_job.h#newcode423 net/http/http_stream_factory_impl_job.h:423: bool alternative_broken_; Is this different than the job failing? ...
4 years, 3 months ago (2016-09-13 23:23:16 UTC) #7
Zhongyi Shi
Feel free to bug me if you need help to review the code. PTAL!
4 years, 3 months ago (2016-09-14 20:54:02 UTC) #8
Ryan Hamilton
https://codereview.chromium.org/2332193003/diff/80001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2332193003/diff/80001/net/http/http_stream_factory_impl_job_controller.cc#newcode249 net/http/http_stream_factory_impl_job_controller.cc:249: if (request_) { I'm having a hard time following ...
4 years, 3 months ago (2016-09-14 21:45:42 UTC) #9
Zhongyi Shi
Addressing Ryan's nits. https://codereview.chromium.org/2332193003/diff/80001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2332193003/diff/80001/net/http/http_stream_factory_impl_job_controller.cc#newcode249 net/http/http_stream_factory_impl_job_controller.cc:249: if (request_) { On 2016/09/14 21:45:42, ...
4 years, 3 months ago (2016-09-14 23:07:07 UTC) #11
Ryan Hamilton
lgtm modulo a couple of nits https://codereview.chromium.org/2332193003/diff/120001/net/http/http_stream_factory_impl_job_controller.cc File net/http/http_stream_factory_impl_job_controller.cc (right): https://codereview.chromium.org/2332193003/diff/120001/net/http/http_stream_factory_impl_job_controller.cc#newcode775 net/http/http_stream_factory_impl_job_controller.cc:775: // |main_job_| must ...
4 years, 3 months ago (2016-09-14 23:13:04 UTC) #12
Zhongyi Shi
https://codereview.chromium.org/2332193003/diff/120001/net/http/http_stream_factory_impl_job_controller.h File net/http/http_stream_factory_impl_job_controller.h (right): https://codereview.chromium.org/2332193003/diff/120001/net/http/http_stream_factory_impl_job_controller.h#newcode267 net/http/http_stream_factory_impl_job_controller.h:267: bool alternative_job_is_failed_; On 2016/09/14 23:13:04, Ryan Hamilton wrote: > ...
4 years, 3 months ago (2016-09-14 23:30:33 UTC) #15
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/2332193003/140001
4 years, 3 months ago (2016-09-15 02:58:13 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 3 months ago (2016-09-15 03:03:14 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 03:05:33 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a692903a8ea6b8bfa576a29d64b413aeae641432
Cr-Commit-Position: refs/heads/master@{#418768}

Powered by Google App Engine
This is Rietveld 408576698