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

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

Issue 2467873005: RTCMediaStream[Track]Stats added. (Closed)
Patch Set: Created 4 years, 1 month 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_peerconnection.h
diff --git a/webrtc/api/test/mock_peerconnection.h b/webrtc/api/test/mock_peerconnection.h
index 50e66185d4c8af5a7022eeb4979e48e87d5b8726..7cc2b0dd9204bf7dd1db25aa6fea4d96de5612cc 100644
--- a/webrtc/api/test/mock_peerconnection.h
+++ b/webrtc/api/test/mock_peerconnection.h
@@ -28,6 +28,10 @@ class MockPeerConnection
MockPeerConnection()
: rtc::RefCountedObject<webrtc::PeerConnection>(
new FakePeerConnectionFactory()) {}
+ MOCK_METHOD0(local_streams,
+ rtc::scoped_refptr<StreamCollectionInterface>());
+ MOCK_METHOD0(remote_streams,
+ rtc::scoped_refptr<StreamCollectionInterface>());
MOCK_METHOD0(session, WebRtcSession*());
MOCK_CONST_METHOD0(sctp_data_channels,
const std::vector<rtc::scoped_refptr<DataChannel>>&());

Powered by Google App Engine
This is Rietveld 408576698