| Index: talk/media/webrtc/fakewebrtccall.h
|
| diff --git a/talk/media/webrtc/fakewebrtccall.h b/talk/media/webrtc/fakewebrtccall.h
|
| index de56a033bceaa3c53b71e37e256f558c16342008..212c062b0bd932ffb0b4c8038ada1a3aa78ecc34 100644
|
| --- a/talk/media/webrtc/fakewebrtccall.h
|
| +++ b/talk/media/webrtc/fakewebrtccall.h
|
| @@ -75,11 +75,8 @@ class FakeAudioReceiveStream : public webrtc::AudioReceiveStream {
|
| explicit FakeAudioReceiveStream(
|
| const webrtc::AudioReceiveStream::Config& config);
|
|
|
| - // webrtc::AudioReceiveStream implementation.
|
| - webrtc::AudioReceiveStream::Stats GetStats() const override;
|
| -
|
| const webrtc::AudioReceiveStream::Config& GetConfig() const;
|
| -
|
| + void SetStats(const webrtc::AudioReceiveStream::Stats& stats);
|
| int received_packets() const { return received_packets_; }
|
| void IncrementReceivedPackets();
|
|
|
| @@ -97,7 +94,13 @@ class FakeAudioReceiveStream : public webrtc::AudioReceiveStream {
|
| return true;
|
| }
|
|
|
| + // webrtc::AudioReceiveStream implementation.
|
| + webrtc::AudioReceiveStream::Stats GetStats() const override {
|
| + return stats_;
|
| + }
|
| +
|
| webrtc::AudioReceiveStream::Config config_;
|
| + webrtc::AudioReceiveStream::Stats stats_;
|
| int received_packets_;
|
| };
|
|
|
|
|