| Index: webrtc/test/direct_transport.h
|
| diff --git a/webrtc/test/direct_transport.h b/webrtc/test/direct_transport.h
|
| index 1c6f937401dac9012f80b7e8342269541117c018..f910efafaf3c0b020bf402dbff26d76a9a172f6b 100644
|
| --- a/webrtc/test/direct_transport.h
|
| +++ b/webrtc/test/direct_transport.h
|
| @@ -23,6 +23,7 @@
|
|
|
| namespace webrtc {
|
|
|
| +class Call;
|
| class Clock;
|
| class PacketReceiver;
|
|
|
| @@ -30,13 +31,14 @@ namespace test {
|
|
|
| class DirectTransport : public Transport {
|
| public:
|
| - DirectTransport();
|
| - explicit DirectTransport(const FakeNetworkPipe::Config& config);
|
| + explicit DirectTransport(Call* send_call);
|
| + DirectTransport(const FakeNetworkPipe::Config& config, Call* send_call);
|
| ~DirectTransport();
|
|
|
| void SetConfig(const FakeNetworkPipe::Config& config);
|
|
|
| virtual void StopSending();
|
| + // TODO(holmer): Look into moving this to the constructor.
|
| virtual void SetReceiver(PacketReceiver* receiver);
|
|
|
| bool SendRtp(const uint8_t* data,
|
| @@ -49,6 +51,7 @@ class DirectTransport : public Transport {
|
| bool SendPackets();
|
|
|
| rtc::CriticalSection lock_;
|
| + Call* const send_call_;
|
| rtc::scoped_ptr<EventWrapper> packet_event_;
|
| rtc::scoped_ptr<ThreadWrapper> thread_;
|
| Clock* const clock_;
|
|
|