summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/webrtc/media/sctp/sctp_transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/webrtc/media/sctp/sctp_transport.h')
-rw-r--r--chromium/third_party/webrtc/media/sctp/sctp_transport.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/chromium/third_party/webrtc/media/sctp/sctp_transport.h b/chromium/third_party/webrtc/media/sctp/sctp_transport.h
index 7aeb6e01bd9..c327525bf1a 100644
--- a/chromium/third_party/webrtc/media/sctp/sctp_transport.h
+++ b/chromium/third_party/webrtc/media/sctp/sctp_transport.h
@@ -96,10 +96,10 @@ class SctpTransport : public SctpTransportInternal,
void set_debug_name_for_testing(const char* debug_name) override {
debug_name_ = debug_name;
}
- int InjectDataOrNotificationFromSctpForTesting(void* data,
- size_t length,
- struct sctp_rcvinfo rcv,
- int flags);
+ void InjectDataOrNotificationFromSctpForTesting(void* data,
+ size_t length,
+ struct sctp_rcvinfo rcv,
+ int flags);
// Exposed to allow Post call from c-callbacks.
// TODO(deadbeef): Remove this or at least make it return a const pointer.
@@ -180,12 +180,12 @@ class SctpTransport : public SctpTransportInternal,
// Called using |invoker_| to send packet on the network.
void OnPacketFromSctpToNetwork(const rtc::CopyOnWriteBuffer& buffer);
- // Called on the SCTP thread.
+ // Called on the network thread.
// Flags are standard socket API flags (RFC 6458).
- int OnDataOrNotificationFromSctp(void* data,
- size_t length,
- struct sctp_rcvinfo rcv,
- int flags);
+ void OnDataOrNotificationFromSctp(void* data,
+ size_t length,
+ struct sctp_rcvinfo rcv,
+ int flags);
// Called using |invoker_| to decide what to do with the data.
void OnDataFromSctpToTransport(const ReceiveDataParams& params,
const rtc::CopyOnWriteBuffer& buffer);