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

Issue 1905843003: Split out QuicAlarm creation from QuicConnectionHelper to new QuicAlarmFactory. No behavior change,… (Closed)

Created:
4 years, 8 months ago by Ryan Hamilton
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@119753783
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split out QuicAlarm creation from QuicConnectionHelper to new QuicAlarmFactory. No behavior change, not protected. This is in preparation for gRPC-over-QUIC to use a separate QuicAlarmFactory for each GrpcQuicConnection. Currently there exists a single Helper (and after this CL a single AlarmFactory) per Dispatcher, and this is used to create alarms for all Connections. gRPC-over-QUIC needs to add per-connection locking to connection alarms before firing them, and a followup CL will create a different AlarmFactory for each gRPC-over-QUIC connection, each with its own mutex (rather than sharing one mutex across the alarms of connections which is obviously terrible). Merge internal change: 119778209 BUG=

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1060 lines, -667 lines) Patch
M net/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M net/net.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M net/net.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/bidirectional_stream_quic_impl_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M net/quic/p2p/quic_p2p_session_test.cc View 4 chunks +7 lines, -4 lines 0 comments Download
A net/quic/quic_alarm_factory.h View 1 chunk +39 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory.h View 1 chunk +49 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory.cc View 1 chunk +119 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory_test.cc View 1 chunk +175 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_session_test.cc View 4 chunks +5 lines, -2 lines 0 comments Download
M net/quic/quic_chromium_client_stream_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_chromium_connection_helper.h View 3 chunks +2 lines, -11 lines 0 comments Download
M net/quic/quic_chromium_connection_helper.cc View 2 chunks +2 lines, -108 lines 0 comments Download
M net/quic/quic_chromium_connection_helper_test.cc View 2 chunks +1 line, -152 lines 0 comments Download
M net/quic/quic_client_promised_info.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/quic/quic_client_promised_info.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M net/quic/quic_client_promised_info_test.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M net/quic/quic_client_push_promise_index_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/quic/quic_connection.h View 5 chunks +4 lines, -14 lines 0 comments Download
M net/quic/quic_connection.cc View 3 chunks +14 lines, -7 lines 0 comments Download
M net/quic/quic_connection_logger_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_connection_test.cc View 11 chunks +53 lines, -36 lines 0 comments Download
M net/quic/quic_crypto_client_stream_test.cc View 6 chunks +17 lines, -12 lines 0 comments Download
M net/quic/quic_crypto_server_stream_test.cc View 5 chunks +16 lines, -11 lines 0 comments Download
M net/quic/quic_crypto_stream_test.cc View 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/quic_flow_controller_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_headers_stream_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 4 chunks +9 lines, -2 lines 0 comments Download
M net/quic/quic_session_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_spdy_stream_test.cc View 2 chunks +3 lines, -1 line 0 comments Download
M net/quic/quic_stream_factory.h View 3 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M net/quic/quic_stream_sequencer_test.cc View 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/reliable_quic_stream_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/test_tools/crypto_test_utils.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M net/quic/test_tools/mock_quic_dispatcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/test_tools/mock_quic_dispatcher.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 5 chunks +26 lines, -11 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 7 chunks +23 lines, -9 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M net/tools/quic/quic_client.cc View 3 chunks +3 lines, -1 line 0 comments Download
M net/tools/quic/quic_client_base.h View 4 chunks +7 lines, -0 lines 0 comments Download
M net/tools/quic/quic_client_base.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_client_session_test.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M net/tools/quic/quic_dispatcher.h View 3 chunks +7 lines, -1 line 0 comments Download
M net/tools/quic/quic_dispatcher.cc View 3 chunks +8 lines, -4 lines 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 16 chunks +38 lines, -24 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory.h View 1 chunk +35 lines, -0 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory.cc View 1 chunk +79 lines, -0 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory_test.cc View 1 chunk +126 lines, -0 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.h View 2 chunks +0 lines, -14 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.cc View 2 chunks +1 line, -63 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper_test.cc View 1 chunk +0 lines, -115 lines 0 comments Download
M net/tools/quic/quic_server.cc View 2 chunks +5 lines, -1 line 0 comments Download
M net/tools/quic/quic_server_session_base_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server_test.cc View 2 chunks +4 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_client.cc View 6 chunks +11 lines, -4 lines 0 comments Download
M net/tools/quic/quic_simple_server.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M net/tools/quic/quic_simple_server_session_test.cc View 4 chunks +8 lines, -3 lines 0 comments Download
M net/tools/quic/quic_simple_server_stream_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_spdy_client_stream_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager_test.cc View 3 chunks +4 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_time_wait_list_manager.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/quic_dispatcher_peer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_dispatcher_peer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_server.cc View 4 chunks +12 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 3 (1 generated)
Ryan Hamilton
4 years, 8 months ago (2016-04-21 19:40:37 UTC) #2
ramant (doing other things)
4 years, 8 months ago (2016-04-21 21:38:58 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698