Index: webrtc/media/engine/fakewebrtccall.h |
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h |
index 29142c18b777f3c6d3816cd8e22dc6bde8cf50e4..f53dcc4401726c1d90c51622a7fa17a10bdca58c 100644 |
--- a/webrtc/media/engine/fakewebrtccall.h |
+++ b/webrtc/media/engine/fakewebrtccall.h |
@@ -21,6 +21,7 @@ |
#define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |
#include <memory> |
+#include <string> |
#include <vector> |
#include "webrtc/api/call/audio_receive_stream.h" |
@@ -108,7 +109,7 @@ class FakeVideoSendStream final |
~FakeVideoSendStream() override; |
const webrtc::VideoSendStream::Config& GetConfig() const; |
const webrtc::VideoEncoderConfig& GetEncoderConfig() const; |
- std::vector<webrtc::VideoStream> GetVideoStreams(); |
+ const std::vector<webrtc::VideoStream>& GetVideoStreams() const; |
bool IsSending() const; |
bool GetVp8Settings(webrtc::VideoCodecVP8* settings) const; |
@@ -138,6 +139,7 @@ class FakeVideoSendStream final |
bool sending_; |
webrtc::VideoSendStream::Config config_; |
webrtc::VideoEncoderConfig encoder_config_; |
+ std::vector<webrtc::VideoStream> video_streams_; |
bool codec_settings_set_; |
union VpxSettings { |
webrtc::VideoCodecVP8 vp8; |
@@ -257,4 +259,4 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver { |
}; |
} // namespace cricket |
-#endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ |
+#endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |