webrtc/net/dcsctp/socket
Victor Boivie 2cffde72b8 dcsctp: Restore from handover as separate methods
Before this CL, some components, e.g. the SendQueue, was first created
and then later restored from handover state, while some were created from
the handover state, as an optional parameter to their constructors.

This CL will make it consistent, by always creating the components in a
pristine state, and then modifying it when restoring them from handover
state. The name "RestoreFromState" was used to be consistent with SendQueue
and the socket.

This is just refactoring.

Bug: None
Change-Id: Ifad2d2e84a74a12a93abbfb0fe1027ebb9580e73
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267006
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37384}
2022-06-30 22:09:04 +00:00
..
BUILD.gn Add dependencies on absl when they are used but undeclared 2022-06-24 06:19:39 +00:00
callback_deferrer.cc Move rtc::make_ref_counted to api/ 2022-06-15 09:47:38 +00:00
callback_deferrer.h Move rtc::make_ref_counted to api/ 2022-06-15 09:47:38 +00:00
capabilities.h dcsctp: Add Transmission Control Block 2021-04-28 22:45:03 +00:00
context.h
dcsctp_socket.cc dcsctp: Restore from handover as separate methods 2022-06-30 22:09:04 +00:00
dcsctp_socket.h dcsctp: Restore from handover as separate methods 2022-06-30 22:09:04 +00:00
dcsctp_socket_network_test.cc Move to_queued_task.h and pending_task_safety_flag.h into public API 2022-06-17 09:20:39 +00:00
dcsctp_socket_test.cc dcsctp: Enable message interleaving 2022-06-28 12:05:23 +00:00
DEPS dcsctp: Add network/throughput tests 2021-09-30 07:59:58 +00:00
heartbeat_handler.cc dcsctp: Avoid integer overflow in HEARTBEAT-ACK v2 2021-10-08 11:06:11 +00:00
heartbeat_handler.h dcsctp: Add Heartbeat Handler 2021-04-25 20:40:18 +00:00
heartbeat_handler_test.cc Allow specifying delayed task precision of dcsctp::Timer. 2022-01-26 18:40:24 +00:00
mock_context.h dcsctp: Add API to indicate packet send status 2021-08-16 11:29:47 +00:00
mock_dcsctp_socket_callbacks.h dcsctp: Convert socket tests not to use fixtures 2022-03-07 12:20:40 +00:00
packet_sender.cc dcsctp: Add PacketSender 2021-08-16 20:19:53 +00:00
packet_sender.h dcsctp: Add PacketSender 2021-08-16 20:19:53 +00:00
packet_sender_test.cc dcsctp: Add PacketSender 2021-08-16 20:19:53 +00:00
state_cookie.cc dcsctp: Add Socket 2021-05-01 07:16:21 +00:00
state_cookie.h dcsctp: Add Socket 2021-05-01 07:16:21 +00:00
state_cookie_test.cc dcsctp: Detect the peer SCTP implementation 2021-09-28 05:10:45 +00:00
stream_reset_handler.cc dcsctp: Handle in-progress stream sequence numbers 2022-05-06 12:20:42 +00:00
stream_reset_handler.h dcsctp: Handle rapid closing of streams 2022-05-05 07:30:58 +00:00
stream_reset_handler_test.cc dcsctp: Restore from handover as separate methods 2022-06-30 22:09:04 +00:00
transmission_control_block.cc dcsctp: Restore from handover as separate methods 2022-06-30 22:09:04 +00:00
transmission_control_block.h dcsctp: Restore from handover as separate methods 2022-06-30 22:09:04 +00:00