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

Issue 295383007: Get rid of websocket_over_spdy_enabled global. (Closed)

Created:
6 years, 7 months ago by mmenke
Modified:
6 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Get rid of websocket_over_spdy_enabled global. It's now called enable_websocket_over_spdy and is a member of HttpNetworkSession::Params. BUG=372528 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274351

Patch Set 1 #

Patch Set 2 : Test #

Patch Set 3 : Fix tests #

Total comments: 6

Patch Set 4 : Response to rch's comments #

Total comments: 5

Patch Set 5 : Merge #

Total comments: 2

Patch Set 6 : Move next to SPDY settings #

Patch Set 7 : Merge #

Patch Set 8 : Fix lint #

Patch Set 9 : Fix merge #

Patch Set 10 : Merge with fixed linebreaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -102 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -6 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 5 7 8 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_utils.h View 1 2 3 4 5 6 1 chunk +40 lines, -40 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/websockets/websocket_job.h View 2 chunks +0 lines, -6 lines 0 comments Download
M net/websockets/websocket_job.cc View 2 chunks +1 line, -11 lines 0 comments Download
M net/websockets/websocket_job_test.cc View 1 2 3 8 chunks +25 lines, -25 lines 0 comments Download
M net/websockets/websocket_throttle_test.cc View 1 2 3 4 5 6 7 5 chunks +25 lines, -14 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mmenke
rch: Please review everything but the websockets code. ricea: Please review websockets code and chrome ...
6 years, 6 months ago (2014-05-29 17:32:20 UTC) #1
Ryan Hamilton
LGTM, modulo a few nits. Thanks for doing this! I also think you need to ...
6 years, 6 months ago (2014-05-29 19:26:50 UTC) #2
mmenke
Thanks for the feedback! https://codereview.chromium.org/295383007/diff/10011/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/295383007/diff/10011/net/http/http_network_session.h#newcode122 net/http/http_network_session.h:122: bool enable_websocket_over_spdy; On 2014/05/29 19:26:50, ...
6 years, 6 months ago (2014-05-29 19:53:13 UTC) #3
mmenke
https://codereview.chromium.org/295383007/diff/10011/net/websockets/websocket_job_test.cc File net/websockets/websocket_job_test.cc (right): https://codereview.chromium.org/295383007/diff/10011/net/websockets/websocket_job_test.cc#newcode277 net/websockets/websocket_job_test.cc:277: MockHttpTransactionFactory(NextProto next_proto, OrderedSocketData* data, On 2014/05/29 19:26:50, Ryan Hamilton ...
6 years, 6 months ago (2014-05-29 19:54:16 UTC) #4
Adam Rice
lgtm I should probably mention that WS/SPDY is unlikely to happen now, but WS/HTTP2 is ...
6 years, 6 months ago (2014-05-30 01:06:53 UTC) #5
mmenke
I'm certainly fine with using it to mean WS over HTTP/2, though may mean it ...
6 years, 6 months ago (2014-05-30 01:46:46 UTC) #6
Ryan Hamilton
https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h#newcode185 chrome/browser/io_thread.h:185: Optional<bool> enable_websocket_over_spdy; On 2014/05/30 01:46:46, mmenke wrote: > On ...
6 years, 6 months ago (2014-05-30 02:37:02 UTC) #7
Adam Rice
https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h#newcode185 chrome/browser/io_thread.h:185: Optional<bool> enable_websocket_over_spdy; On 2014/05/30 02:37:02, Ryan Hamilton wrote: > ...
6 years, 6 months ago (2014-05-30 03:25:23 UTC) #8
Ryan Hamilton
https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/295383007/diff/50001/chrome/browser/io_thread.h#newcode185 chrome/browser/io_thread.h:185: Optional<bool> enable_websocket_over_spdy; On 2014/05/30 03:25:24, Adam Rice wrote: > ...
6 years, 6 months ago (2014-05-30 03:43:26 UTC) #9
mmenke
[+jhawkins]: Mine doing an owners review of chrome/browser/io_thread.*?
6 years, 6 months ago (2014-05-30 17:23:25 UTC) #10
James Hawkins
https://codereview.chromium.org/295383007/diff/160001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/295383007/diff/160001/chrome/browser/io_thread.h#newcode185 chrome/browser/io_thread.h:185: Optional<bool> enable_websocket_over_spdy; Can you move this to the spdy ...
6 years, 6 months ago (2014-05-30 17:30:07 UTC) #11
mmenke
https://codereview.chromium.org/295383007/diff/160001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/295383007/diff/160001/chrome/browser/io_thread.h#newcode185 chrome/browser/io_thread.h:185: Optional<bool> enable_websocket_over_spdy; On 2014/05/30 17:30:07, James Hawkins wrote: > ...
6 years, 6 months ago (2014-05-30 17:45:30 UTC) #12
James Hawkins
lgtm
6 years, 6 months ago (2014-06-01 16:22:24 UTC) #13
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 6 months ago (2014-06-02 17:08:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/295383007/240001
6 years, 6 months ago (2014-06-02 17:09:40 UTC) #15
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 6 months ago (2014-06-02 18:10:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/295383007/260001
6 years, 6 months ago (2014-06-02 18:12:12 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 22:20:06 UTC) #18
Message was sent while issue was closed.
Change committed as 274351

Powered by Google App Engine
This is Rietveld 408576698