From 923d2c237ee8bcfef954b0c7071a305a045411c1 Mon Sep 17 00:00:00 2001 From: Sergey Sukhanov Date: Tue, 17 Aug 2021 16:50:03 +0200 Subject: [PATCH] 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 Reviewed-by: Mirko Bonadei Reviewed-by: Victor Boivie Cr-Commit-Position: refs/heads/master@{#34788} --- net/dcsctp/public/dcsctp_socket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/dcsctp/public/dcsctp_socket.h b/net/dcsctp/public/dcsctp_socket.h index ad40a1b24b..248646e85f 100644 --- a/net/dcsctp/public/dcsctp_socket.h +++ b/net/dcsctp/public/dcsctp_socket.h @@ -205,7 +205,7 @@ struct Metrics { absl::optional 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;