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

Issue 1020363003: Independently enable SPDY versions from field trial. (Closed)

Created:
5 years, 9 months ago by Bence
Modified:
5 years, 9 months ago
Reviewers:
Ryan Hamilton
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

Independently enable SPDY versions from field trial. Add field trial parameters for independently enabling SPDY/3.1, HTTP/2 draft-14, and HTTP/2 protocols. Add a field trial group prefix to trigger parsing parameters, so that behavior of current field trial groups is preserved. Refactor SPDY parameter parsing code to make it similar to QUIC code, also in tests. Write tests for new functionality, for default behavior, and for command line parsing. BUG=469181 Committed: https://crrev.com/bc0b05bd43245357433854cba3179f28ad52d5f0 Cr-Commit-Position: refs/heads/master@{#322216}

Patch Set 1 #

Patch Set 2 : Keep NextProtosSpdy31() for compatibility; reorder params. #

Total comments: 16

Patch Set 3 : Address first round of comments. #

Total comments: 11

Patch Set 4 : Re: first round of comments. #

Patch Set 5 : Add spdy_enabled toggle and TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -154 lines) Patch
M chrome/browser/io_thread.h View 1 2 2 chunks +9 lines, -22 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 4 chunks +179 lines, -95 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 3 4 chunks +100 lines, -13 lines 0 comments Download
M net/socket/next_proto.h View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
M net/socket/next_proto.cc View 1 2 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Bence
Ryan, PTAL. Thanks.
5 years, 9 months ago (2015-03-20 21:33:45 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/1020363003/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1020363003/diff/20001/chrome/browser/io_thread.cc#newcode931 chrome/browser/io_thread.cc:931: if (command_line.HasSwitch(switches::kUseSpdy)) { Let's use early-return to clean up ...
5 years, 9 months ago (2015-03-20 23:38:08 UTC) #3
Bence
Ryan, PTAL. Thanks. https://codereview.chromium.org/1020363003/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1020363003/diff/20001/chrome/browser/io_thread.cc#newcode931 chrome/browser/io_thread.cc:931: if (command_line.HasSwitch(switches::kUseSpdy)) { On 2015/03/20 23:38:07, ...
5 years, 9 months ago (2015-03-23 14:19:14 UTC) #4
Ryan Hamilton
Great progress! https://codereview.chromium.org/1020363003/diff/40001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1020363003/diff/40001/chrome/browser/io_thread.cc#newcode356 chrome/browser/io_thread.cc:356: it != spdy_options.end(); ++it) { nit: for ...
5 years, 9 months ago (2015-03-23 21:29:14 UTC) #5
Bence
Ryan, PTAL. https://codereview.chromium.org/1020363003/diff/40001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/1020363003/diff/40001/chrome/browser/io_thread.cc#newcode356 chrome/browser/io_thread.cc:356: it != spdy_options.end(); ++it) { On 2015/03/23 ...
5 years, 9 months ago (2015-03-24 14:05:04 UTC) #6
Ryan Hamilton
lgtm
5 years, 9 months ago (2015-03-24 19:28:27 UTC) #7
Bence
On 2015/03/24 19:28:27, Ryan Hamilton wrote: > lgtm Ryan, please take a look at patch ...
5 years, 9 months ago (2015-03-25 11:37:16 UTC) #8
Ryan Hamilton
lgtm
5 years, 9 months ago (2015-03-25 18:24:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1020363003/80001
5 years, 9 months ago (2015-03-25 18:36:34 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-25 19:51:06 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 19:52:34 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bc0b05bd43245357433854cba3179f28ad52d5f0
Cr-Commit-Position: refs/heads/master@{#322216}

Powered by Google App Engine
This is Rietveld 408576698