| Index: webrtc/api/webrtcsession_unittest.cc
|
| diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc
|
| index 1a7a02622c42c0a9ce5da7faaf00801a9f0970c3..ca093155c81bc805215cdbbcd39238f6e6c6e660 100644
|
| --- a/webrtc/api/webrtcsession_unittest.cc
|
| +++ b/webrtc/api/webrtcsession_unittest.cc
|
| @@ -46,6 +46,7 @@
|
| #include "webrtc/p2p/base/stunserver.h"
|
| #include "webrtc/p2p/base/teststunserver.h"
|
| #include "webrtc/p2p/base/testturnserver.h"
|
| +#include "webrtc/p2p/base/transportchannel.h"
|
| #include "webrtc/p2p/client/basicportallocator.h"
|
| #include "webrtc/pc/channelmanager.h"
|
| #include "webrtc/pc/mediasession.h"
|
| @@ -218,7 +219,7 @@
|
| // local/remote ports.
|
| class FakeSctpTransport : public cricket::SctpTransportInternal {
|
| public:
|
| - void SetTransportChannel(rtc::PacketTransportInterface* channel) override {}
|
| + void SetTransportChannel(cricket::TransportChannel* channel) override {}
|
| bool Start(int local_port, int remote_port) override {
|
| local_port_ = local_port;
|
| remote_port_ = remote_port;
|
| @@ -245,7 +246,7 @@
|
| class FakeSctpTransportFactory : public cricket::SctpTransportInternalFactory {
|
| public:
|
| std::unique_ptr<cricket::SctpTransportInternal> CreateSctpTransport(
|
| - rtc::PacketTransportInterface*) override {
|
| + cricket::TransportChannel*) override {
|
| last_fake_sctp_transport_ = new FakeSctpTransport();
|
| return std::unique_ptr<cricket::SctpTransportInternal>(
|
| last_fake_sctp_transport_);
|
| @@ -305,7 +306,7 @@
|
| if (!ch) {
|
| return nullptr;
|
| }
|
| - return ch->rtp_dtls_transport();
|
| + return ch->rtp_transport();
|
| }
|
|
|
| rtc::PacketTransportInterface* rtcp_transport_channel(
|
| @@ -313,7 +314,7 @@
|
| if (!ch) {
|
| return nullptr;
|
| }
|
| - return ch->rtcp_dtls_transport();
|
| + return ch->rtcp_transport();
|
| }
|
| };
|
|
|
|
|