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

Issue 339663010: Add a probability to Alternate-Protocol support. (Closed)

Created:
6 years, 6 months ago by Ryan Hamilton
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add a probability to Alternate-Protocol support. Can be enabled either via a field trial or a command line flag. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281777 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281861

Patch Set 1 #

Patch Set 2 : Working #

Patch Set 3 : Added command line and field trial support #

Patch Set 4 : Fully plumbed. *sigh* #

Patch Set 5 : Better plumbing #

Total comments: 19

Patch Set 6 : fix comments #

Total comments: 4

Patch Set 7 : fix more comments #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : line endings #

Patch Set 11 : more line endings #

Patch Set 12 : Rebase again after fixing line endings #

Patch Set 13 : Fix build error #

Patch Set 14 : Fix more build errors #

Patch Set 15 : one more #

Patch Set 16 : fix tests #

Patch Set 17 : fix test #

Total comments: 2

Patch Set 18 : eliminate static initializer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -184 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +39 lines, -3 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.cc View 1 2 3 4 5 6 23 chunks +63 lines, -43 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/http_network_layer.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -6 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 10 chunks +12 lines, -13 lines 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 5 3 chunks +20 lines, -6 lines 0 comments Download
M net/http/http_server_properties.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 4 chunks +9 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 5 8 chunks +27 lines, -13 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 12 chunks +52 lines, -36 lines 0 comments Download
M net/http/http_stream_factory.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +52 lines, -30 lines 0 comments Download
M net/http/http_stream_factory_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +7 lines, -8 lines 0 comments Download
M net/http/http_stream_factory_impl_job.h View 1 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +86 lines, -3 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 60 (0 generated)
Ryan Hamilton
6 years, 5 months ago (2014-06-27 19:14:33 UTC) #1
ramant (doing other things)
lgtm https://codereview.chromium.org/339663010/diff/80001/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): https://codereview.chromium.org/339663010/diff/80001/chrome/browser/net/http_server_properties_manager.cc#newcode223 chrome/browser/net/http_server_properties_manager.cc:223: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); Thanks for adding the DCHECKs. https://codereview.chromium.org/339663010/diff/80001/chrome/common/chrome_switches.cc File ...
6 years, 5 months ago (2014-06-27 22:38:13 UTC) #2
Ryan Hamilton
thestig: chrome/browser/io_thread.* and chrome/common/chrome_switches.* OWNERS review, please. https://codereview.chromium.org/339663010/diff/80001/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): https://codereview.chromium.org/339663010/diff/80001/chrome/browser/net/http_server_properties_manager.cc#newcode223 chrome/browser/net/http_server_properties_manager.cc:223: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); On ...
6 years, 5 months ago (2014-06-30 19:02:35 UTC) #3
Lei Zhang
lgtm https://codereview.chromium.org/339663010/diff/100001/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): https://codereview.chromium.org/339663010/diff/100001/chrome/browser/net/http_server_properties_manager.cc#newcode223 chrome/browser/net/http_server_properties_manager.cc:223: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); Please use DCHECK_CURRENTLY_ON. https://codereview.chromium.org/339663010/diff/100001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): ...
6 years, 5 months ago (2014-06-30 19:09:25 UTC) #4
ramant (doing other things)
lgtm https://codereview.chromium.org/339663010/diff/80001/net/http/http_stream_factory.cc File net/http/http_stream_factory.cc (right): https://codereview.chromium.org/339663010/diff/80001/net/http/http_stream_factory.cc#newcode39 net/http/http_stream_factory.cc:39: for (size_t i = 0; i < alternate_protocol_values.size(); ...
6 years, 5 months ago (2014-06-30 21:01:24 UTC) #5
Ryan Hamilton
https://codereview.chromium.org/339663010/diff/100001/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): https://codereview.chromium.org/339663010/diff/100001/chrome/browser/net/http_server_properties_manager.cc#newcode223 chrome/browser/net/http_server_properties_manager.cc:223: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); On 2014/06/30 19:09:24, Lei Zhang wrote: > Please ...
6 years, 5 months ago (2014-06-30 21:33:01 UTC) #6
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-01 19:12:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/140001
6 years, 5 months ago (2014-07-01 19:14:41 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-01 20:13:49 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-01 20:16:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/166569) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/155785) ios_rel_device_ninja ...
6 years, 5 months ago (2014-07-01 20:16:01 UTC) #11
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-01 22:16:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/160001
6 years, 5 months ago (2014-07-01 22:17:14 UTC) #13
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-01 22:48:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/180001
6 years, 5 months ago (2014-07-01 22:48:38 UTC) #15
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-01 23:46:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/200001
6 years, 5 months ago (2014-07-01 23:47:10 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 00:41:13 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 00:43:28 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/166661) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/155872) ios_rel_device_ninja ...
6 years, 5 months ago (2014-07-02 00:43:29 UTC) #20
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-02 19:59:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/220001
6 years, 5 months ago (2014-07-02 20:00:47 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-02 21:06:31 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 21:12:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/202361)
6 years, 5 months ago (2014-07-02 21:12:42 UTC) #25
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-02 22:43:45 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/220001
6 years, 5 months ago (2014-07-02 22:45:57 UTC) #27
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-03 02:26:39 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/240001
6 years, 5 months ago (2014-07-03 02:29:35 UTC) #29
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-03 03:33:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/260001
6 years, 5 months ago (2014-07-03 03:38:24 UTC) #31
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-03 04:01:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/280001
6 years, 5 months ago (2014-07-03 04:02:35 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-03 07:45:11 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-03 08:53:35 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/44291)
6 years, 5 months ago (2014-07-03 08:53:36 UTC) #36
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-03 14:58:29 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/300001
6 years, 5 months ago (2014-07-03 14:59:28 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-03 19:16:46 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-03 20:19:10 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/48384)
6 years, 5 months ago (2014-07-03 20:19:11 UTC) #41
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-07 17:35:38 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/320001
6 years, 5 months ago (2014-07-07 17:36:44 UTC) #43
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-07 19:49:45 UTC) #44
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-07 19:58:47 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/20079) android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/168541)
6 years, 5 months ago (2014-07-07 19:58:48 UTC) #46
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-07 23:11:10 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/320001
6 years, 5 months ago (2014-07-07 23:13:06 UTC) #48
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 00:35:00 UTC) #49
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-08 00:56:08 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/168642)
6 years, 5 months ago (2014-07-08 00:56:09 UTC) #51
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-08 16:39:44 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/320001
6 years, 5 months ago (2014-07-08 16:40:41 UTC) #53
commit-bot: I haz the power
Change committed as 281777
6 years, 5 months ago (2014-07-08 18:59:46 UTC) #54
jamesr
https://codereview.chromium.org/339663010/diff/320001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/339663010/diff/320001/net/http/http_stream_factory_impl.cc#newcode26 net/http/http_stream_factory_impl.cc:26: AlternateProtocolInfo(0, UNINITIALIZED_ALTERNATE_PROTOCOL, 0); this creates a static initializer
6 years, 5 months ago (2014-07-08 19:36:38 UTC) #55
samuong
A revert of this CL has been created in https://codereview.chromium.org/377063002/ by samuong@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-08 19:38:26 UTC) #56
Ryan Hamilton
https://codereview.chromium.org/339663010/diff/320001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/339663010/diff/320001/net/http/http_stream_factory_impl.cc#newcode26 net/http/http_stream_factory_impl.cc:26: AlternateProtocolInfo(0, UNINITIALIZED_ALTERNATE_PROTOCOL, 0); On 2014/07/08 19:36:38, jamesr wrote: > ...
6 years, 5 months ago (2014-07-08 19:59:52 UTC) #57
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 5 months ago (2014-07-08 19:59:57 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/339663010/340001
6 years, 5 months ago (2014-07-08 20:05:49 UTC) #59
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 23:01:05 UTC) #60
Message was sent while issue was closed.
Change committed as 281861

Powered by Google App Engine
This is Rietveld 408576698