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

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

Issue 2653343003: Add CreatePeerConnectionFactory overloads that take audio codec factory args (Closed)
Patch Set: We need actual factories Created 3 years, 11 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
« no previous file with comments | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/test/mock_peerconnection.h
diff --git a/webrtc/pc/test/mock_peerconnection.h b/webrtc/pc/test/mock_peerconnection.h
index 4dca0afad47f468b5920dbc8dd6c34e0e9fd1f3e..97f31c1673870dc4079846de84a664c2657bee30 100644
--- a/webrtc/pc/test/mock_peerconnection.h
+++ b/webrtc/pc/test/mock_peerconnection.h
@@ -20,7 +20,12 @@ namespace webrtc {
// The factory isn't really used; it just satisfies the base PeerConnection.
class FakePeerConnectionFactory
- : public rtc::RefCountedObject<webrtc::PeerConnectionFactory> {};
+ : public rtc::RefCountedObject<webrtc::PeerConnectionFactory> {
+ public:
+ FakePeerConnectionFactory()
+ : rtc::RefCountedObject<webrtc::PeerConnectionFactory>(nullptr, nullptr) {
+ }
+};
class MockPeerConnection
: public rtc::RefCountedObject<webrtc::PeerConnection> {
« no previous file with comments | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698