Use backticks not vertical bars to denote variables in comments for /rtc_base
Bug: webrtc:12338 Change-Id: I72fcb505a92f03b2ace7160ee33d555a977eddfd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226955 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34587}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
22a6b2dcad
commit
96e3b991da
@ -55,17 +55,17 @@ class AsyncTCPSocketBase : public AsyncPacketSocket {
|
||||
void SetError(int error) override;
|
||||
|
||||
protected:
|
||||
// Binds and connects |socket| and creates AsyncTCPSocket for
|
||||
// it. Takes ownership of |socket|. Returns null if bind() or
|
||||
// connect() fail (|socket| is destroyed in that case).
|
||||
// Binds and connects `socket` and creates AsyncTCPSocket for
|
||||
// it. Takes ownership of `socket`. Returns null if bind() or
|
||||
// connect() fail (`socket` is destroyed in that case).
|
||||
static AsyncSocket* ConnectSocket(AsyncSocket* socket,
|
||||
const SocketAddress& bind_address,
|
||||
const SocketAddress& remote_address);
|
||||
int FlushOutBuffer();
|
||||
// Add data to |outbuf_|.
|
||||
// Add data to `outbuf_`.
|
||||
void AppendToOutBuffer(const void* pv, size_t cb);
|
||||
|
||||
// Helper methods for |outpos_|.
|
||||
// Helper methods for `outpos_`.
|
||||
bool IsOutBufferEmpty() const { return outbuf_.size() == 0; }
|
||||
void ClearOutBuffer() { outbuf_.Clear(); }
|
||||
|
||||
@ -88,9 +88,9 @@ class AsyncTCPSocketBase : public AsyncPacketSocket {
|
||||
|
||||
class AsyncTCPSocket : public AsyncTCPSocketBase {
|
||||
public:
|
||||
// Binds and connects |socket| and creates AsyncTCPSocket for
|
||||
// it. Takes ownership of |socket|. Returns null if bind() or
|
||||
// connect() fail (|socket| is destroyed in that case).
|
||||
// Binds and connects `socket` and creates AsyncTCPSocket for
|
||||
// it. Takes ownership of `socket`. Returns null if bind() or
|
||||
// connect() fail (`socket` is destroyed in that case).
|
||||
static AsyncTCPSocket* Create(AsyncSocket* socket,
|
||||
const SocketAddress& bind_address,
|
||||
const SocketAddress& remote_address);
|
||||
|
||||
Reference in New Issue
Block a user