Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Unified Diff: webrtc/api/test/mock_rtpreceiver.h

Issue 2770233003: Implemented the GetSources() in native code. (Closed)
Patch Set: Add a direct dependency to the webrtc/voice_engine/BUILD.gn Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/test/mock_rtpreceiver.h
diff --git a/webrtc/api/test/mock_rtpreceiver.h b/webrtc/api/test/mock_rtpreceiver.h
index 25f5c28caa62b3ac2c70121a750b5a0ca9a94cad..552a653100cf2d3f44b320ecd0bc8440cd4bf3a8 100644
--- a/webrtc/api/test/mock_rtpreceiver.h
+++ b/webrtc/api/test/mock_rtpreceiver.h
@@ -12,6 +12,7 @@
#define WEBRTC_API_TEST_MOCK_RTPRECEIVER_H_
#include <string>
+#include <vector>
#include "webrtc/api/rtpreceiverinterface.h"
#include "webrtc/test/gmock.h"
@@ -27,6 +28,7 @@ class MockRtpReceiver : public rtc::RefCountedObject<RtpReceiverInterface> {
MOCK_CONST_METHOD0(GetParameters, RtpParameters());
MOCK_METHOD1(SetParameters, bool(const RtpParameters&));
MOCK_METHOD1(SetObserver, void(RtpReceiverObserverInterface*));
+ MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>());
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698