Revert "Another mock for GetSctpTransport"
This reverts commit b2c4700d39fbedaff9bdbee934e1f3f8032bb35b. Reason for revert: Breaks Chrome build Original change's description: > Another mock for GetSctpTransport > > Bug: chromium:818643 > Change-Id: I4ae7826efa7afa8e7b2ecd8a5928071a1b913ded > Reviewed-on: https://webrtc-review.googlesource.com/c/125340 > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Commit-Queue: Harald Alvestrand <hta@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#26941} TBR=kwiberg@webrtc.org,hta@webrtc.org Change-Id: I98ddc61ca1e76d69b84138419d91ad9e40b04b1d No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:818643 Reviewed-on: https://webrtc-review.googlesource.com/c/125380 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26943}
This commit is contained in:

committed by
Commit Bot

parent
3b548ddb1c
commit
727504cf49
@ -74,8 +74,6 @@ class MockPeerConnectionInterface
|
||||
void(rtc::scoped_refptr<RtpReceiverInterface>,
|
||||
rtc::scoped_refptr<RTCStatsCollectorCallback>));
|
||||
MOCK_METHOD0(ClearStatsCache, void());
|
||||
MOCK_CONST_METHOD0(GetSctpTransport,
|
||||
rtc::scoped_refptr<SctpTransportInterface>());
|
||||
MOCK_METHOD2(
|
||||
CreateDataChannel,
|
||||
rtc::scoped_refptr<DataChannelInterface>(const std::string&,
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "api/sctp_transport_interface.h"
|
||||
#include "pc/peer_connection_internal.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -109,10 +108,6 @@ class FakePeerConnectionBase : public PeerConnectionInternal {
|
||||
|
||||
void ClearStatsCache() override {}
|
||||
|
||||
rtc::scoped_refptr<SctpTransportInterface> GetSctpTransport() const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
|
||||
const std::string& label,
|
||||
const DataChannelInit* config) override {
|
||||
|
Reference in New Issue
Block a user