summaryrefslogtreecommitdiffstats
path: root/dom/webtransport/parent/WebTransportParent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webtransport/parent/WebTransportParent.cpp')
-rw-r--r--dom/webtransport/parent/WebTransportParent.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/dom/webtransport/parent/WebTransportParent.cpp b/dom/webtransport/parent/WebTransportParent.cpp
index 236c9a945a..885a7df079 100644
--- a/dom/webtransport/parent/WebTransportParent.cpp
+++ b/dom/webtransport/parent/WebTransportParent.cpp
@@ -625,25 +625,6 @@ void WebTransportParent::NotifyRemoteClosed(bool aCleanly, uint32_t aErrorCode,
}));
}
-// This method is currently not used by WebTransportSessionProxy to inform of
-// any session related events. All notification is recieved via
-// WebTransportSessionProxy::OnSessionReady and
-// WebTransportSessionProxy::OnSessionClosed methods
-NS_IMETHODIMP
-WebTransportParent::OnSessionReadyInternal(
- mozilla::net::Http3WebTransportSession* aSession) {
- Unused << aSession;
- return NS_OK;
-}
-
-NS_IMETHODIMP
-WebTransportParent::OnIncomingStreamAvailableInternal(
- mozilla::net::Http3WebTransportStream* aStream) {
- // XXX implement once DOM WebAPI supports creation of streams
- Unused << aStream;
- return NS_OK;
-}
-
NS_IMETHODIMP
WebTransportParent::OnIncomingUnidirectionalStreamAvailable(
nsIWebTransportReceiveStream* aStream) {
@@ -795,13 +776,6 @@ NS_IMETHODIMP WebTransportParent::OnDatagramReceived(
return NS_OK;
}
-NS_IMETHODIMP WebTransportParent::OnDatagramReceivedInternal(
- nsTArray<uint8_t>&& aData) {
- // this method is used only for internal notificaiton within necko
- // we dont expect to receive any notification with on this interface
- return NS_OK;
-}
-
NS_IMETHODIMP
WebTransportParent::OnOutgoingDatagramOutCome(
uint64_t aId, WebTransportSessionEventListener::DatagramOutcome aOutCome) {