dcsctp: fixed grammar in one comment, added comment regarding the threading contract

Bug: None
Change-Id: Ia1442a155afb38b0df4ed2c288a9c6b238488b23
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229080
Commit-Queue: Sergey Sukhanov <sergeysu@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Victor Boivie <boivie@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34788}
This commit is contained in:
Sergey Sukhanov 2021-08-17 16:50:03 +02:00 committed by WebRTC LUCI CQ
parent d0b8879770
commit 923d2c237e

View File

@ -205,7 +205,7 @@ struct Metrics {
absl::optional<uint32_t> peer_rwnd_bytes = absl::nullopt;
};
// Callbacks that the DcSctpSocket will be done synchronously to the owning
// Callbacks that the DcSctpSocket will call synchronously to the owning
// client. It is allowed to call back into the library from callbacks that start
// with "On". It has been explicitly documented when it's not allowed to call
// back into this library from within a callback.
@ -339,6 +339,7 @@ class DcSctpSocketCallbacks {
};
// The DcSctpSocket implementation implements the following interface.
// This class is thread-compatible.
class DcSctpSocketInterface {
public:
virtual ~DcSctpSocketInterface() = default;