| Index: talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
| diff --git a/talk/app/webrtc/rtpsenderreceiver_unittest.cc b/talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
| index 3f61504cae36509b4c20fe3803e4c6f1354dec18..dd818727311a34a57c38e41924f1aad0200d1ed1 100644
|
| --- a/talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
| +++ b/talk/app/webrtc/rtpsenderreceiver_unittest.cc
|
| @@ -99,7 +99,7 @@ class MockVideoProvider : public VideoProviderInterface {
|
| class FakeVideoSource : public Notifier<VideoSourceInterface> {
|
| public:
|
| static rtc::scoped_refptr<FakeVideoSource> Create() {
|
| - return new rtc::RefCountedObject<FakeVideoSource>();
|
| + return new rtc::RefCountedObject<FakeVideoSource>(false);
|
| }
|
| virtual cricket::VideoCapturer* GetVideoCapturer() { return &fake_capturer_; }
|
| virtual void Stop() {}
|
| @@ -107,16 +107,18 @@ class FakeVideoSource : public Notifier<VideoSourceInterface> {
|
| virtual void AddSink(cricket::VideoRenderer* output) {}
|
| virtual void RemoveSink(cricket::VideoRenderer* output) {}
|
| virtual SourceState state() const { return state_; }
|
| + virtual bool remote() const { return remote_; }
|
| virtual const cricket::VideoOptions* options() const { return &options_; }
|
| virtual cricket::VideoRenderer* FrameInput() { return NULL; }
|
|
|
| protected:
|
| - FakeVideoSource() : state_(kLive) {}
|
| + explicit FakeVideoSource(bool remote) : state_(kLive), remote_(remote) {}
|
| ~FakeVideoSource() {}
|
|
|
| private:
|
| cricket::FakeVideoCapturer fake_capturer_;
|
| SourceState state_;
|
| + bool remote_;
|
| cricket::VideoOptions options_;
|
| };
|
|
|
|
|