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

Issue 1779733003: Fix bug in net::RequestPriority -> HTTP/2 dependency conversion. (Closed)

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

Description

Fix bug in net::RequestPriority -> HTTP/2 dependency conversion. This CL also defaults this behavior on (subject to finch override), refactors the finch control to be in line with network stack defaults (== based in io_thread.cc), and removes the non-default performance bot configuration. BUG=590225 R=bnc@chromium.org R=isherman@chromium.org Committed: https://crrev.com/2e54d1f83e6ae57cb404658f361e469dd9ed2a92 Cr-Commit-Position: refs/heads/master@{#382360}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fix typo. #

Patch Set 3 : Export new class for testing. #

Patch Set 4 : Shift configuration over to plumbed arguemnts. #

Patch Set 5 : Modified comment to better explain testing situation. #

Patch Set 6 : Incorporate Bence's detailed comments. #

Total comments: 7

Patch Set 7 : Incorporated comments, added mods to IOSChromeIOThread, changed CL description to mention refactor. #

Patch Set 8 : Sync'd to p381788. #

Patch Set 9 : Added field trial string constants to IOSChromeThread. #

Patch Set 10 : Sync'd to p382293. #

Patch Set 11 : Make bi-directional stream unittests enable priority->dependency setting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -136 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 4 chunks +19 lines, -0 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.mm View 1 2 3 4 5 6 7 8 9 4 chunks +19 lines, -0 lines 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -3 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A net/spdy/http2_priority_dependencies.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A net/spdy/http2_priority_dependencies.cc View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A net/spdy/http2_priority_dependencies_unittest.cc View 1 2 3 1 chunk +144 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -3 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 6 7 5 chunks +4 lines, -15 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 9 chunks +11 lines, -55 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -3 lines 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -3 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 2 3 4 5 6 7 8 9 4 chunks +10 lines, -1 line 0 comments Download
M testing/variations/fieldtrial_testing_config_android.json View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_chromeos.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_ios.json View 1 chunk +0 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_linux.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_mac.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_win.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
Randy Smith (Not in Mondays)
Bence, PTAL? Ilya, you're included for the reversion of the priority bot configuration now that ...
4 years, 9 months ago (2016-03-09 17:16:53 UTC) #1
Ilya Sherman
//testing/variations lgmt
4 years, 9 months ago (2016-03-09 20:15:41 UTC) #2
Ilya Sherman
lgmt lmgt lgtm mglt mgmt
4 years, 9 months ago (2016-03-09 20:17:02 UTC) #3
Bence
Randy: this refactoring is great. I really like your Http2PriorityDependencies class. There's one thing I'd ...
4 years, 9 months ago (2016-03-10 20:21:14 UTC) #4
Randy Smith (Not in Mondays)
On 2016/03/10 20:21:14, Bence wrote: > Randy: this refactoring is great. I really like your ...
4 years, 9 months ago (2016-03-13 17:22:17 UTC) #5
Bence
On 2016/03/13 17:22:17, Randy Smith - Not in Fridays wrote: > On 2016/03/10 20:21:14, Bence ...
4 years, 9 months ago (2016-03-14 01:26:53 UTC) #6
Randy Smith (Not in Mondays)
On 2016/03/14 01:26:53, Bence wrote: > On 2016/03/13 17:22:17, Randy Smith - Not in Fridays ...
4 years, 9 months ago (2016-03-14 02:05:36 UTC) #7
Randy Smith (Not in Mondays)
Bence: PTAL? https://codereview.chromium.org/1779733003/diff/1/net/spdy/http2_priority_dependencies.cc File net/spdy/http2_priority_dependencies.cc (right): https://codereview.chromium.org/1779733003/diff/1/net/spdy/http2_priority_dependencies.cc#newcode46 net/spdy/http2_priority_dependencies.cc:46: DCHECK(entry_by_stream_id_.end() == entry_by_stream_id_.find(id)); On 2016/03/10 20:21:13, Bence ...
4 years, 9 months ago (2016-03-16 19:38:10 UTC) #8
Bence
LGTM modulo nits (mostly optional), and please do the same thing to IOSChromeIOThread (//ios/chrome/browser/ios_chrome_io_thread.mm) that ...
4 years, 9 months ago (2016-03-17 01:48:59 UTC) #9
Bence
You might also want to change CL description to include reference to refactoring in addition ...
4 years, 9 months ago (2016-03-17 12:26:00 UTC) #10
Randy Smith (Not in Mondays)
Thanks! I've incorporated all your comments (sorry for forgetting about IOSChromeThread). I'm going to hold ...
4 years, 9 months ago (2016-03-17 20:27:43 UTC) #12
Randy Smith (Not in Mondays)
Ryan, could you take a look at chrome/browser/* and ios/chrome/browser/*? You have some of the ...
4 years, 9 months ago (2016-03-17 22:02:35 UTC) #14
Ryan Hamilton
chrome/browser/* and ios/chrome/browser/*: LGTM. Would it be easy to add an io_thread_unittest?
4 years, 9 months ago (2016-03-18 20:41:59 UTC) #15
Bence
On 2016/03/18 20:41:59, Ryan Hamilton wrote: > chrome/browser/* and ios/chrome/browser/*: LGTM. Would it be easy ...
4 years, 9 months ago (2016-03-19 01:02:39 UTC) #16
Ryan Hamilton
On 2016/03/19 01:02:39, Bence OOO until March 23 wrote: > On 2016/03/18 20:41:59, Ryan Hamilton ...
4 years, 9 months ago (2016-03-21 14:40:49 UTC) #17
Randy Smith (Not in Mondays)
On 2016/03/21 14:40:49, Ryan Hamilton wrote: > On 2016/03/19 01:02:39, Bence OOO until March 23 ...
4 years, 9 months ago (2016-03-21 14:44:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779733003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779733003/160001
4 years, 9 months ago (2016-03-21 14:45:01 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/198188)
4 years, 9 months ago (2016-03-21 15:28:10 UTC) #23
Randy Smith (Not in Mondays)
Helen, could you take a look at the PS10->PS11 change? It's a five character change, ...
4 years, 9 months ago (2016-03-21 17:04:48 UTC) #25
xunjieli
On 2016/03/21 17:04:48, Randy Smith - Not in Fridays wrote: > Helen, could you take ...
4 years, 9 months ago (2016-03-21 17:11:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779733003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779733003/200001
4 years, 9 months ago (2016-03-21 17:15:05 UTC) #29
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-21 19:48:27 UTC) #31
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 19:50:52 UTC) #33
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/2e54d1f83e6ae57cb404658f361e469dd9ed2a92
Cr-Commit-Position: refs/heads/master@{#382360}

Powered by Google App Engine
This is Rietveld 408576698