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

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

Issue 2815513012: Negotiate the same SRTP crypto suites for every DTLS association formed. (Closed)
Patch Set: Merge with master 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
« no previous file with comments | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | webrtc/pc/webrtcsession_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/test/mock_webrtcsession.h
diff --git a/webrtc/pc/test/mock_webrtcsession.h b/webrtc/pc/test/mock_webrtcsession.h
index d476377370c322668f2d465a9672acc8adf37e3b..cf4253b1e0f976a4a2959387a30534ca3d09a6c6 100644
--- a/webrtc/pc/test/mock_webrtcsession.h
+++ b/webrtc/pc/test/mock_webrtcsession.h
@@ -34,9 +34,12 @@ class MockWebRtcSession : public webrtc::WebRtcSession {
rtc::Thread::Current(),
nullptr,
std::unique_ptr<cricket::TransportController>(
- new cricket::TransportController(rtc::Thread::Current(),
- rtc::Thread::Current(),
- nullptr)),
+ new cricket::TransportController(
+ rtc::Thread::Current(),
+ rtc::Thread::Current(),
+ nullptr,
+ /*redetermine_role_on_ice_restart=*/true,
+ rtc::CryptoOptions())),
std::unique_ptr<cricket::SctpTransportInternalFactory>()) {}
MOCK_METHOD0(voice_channel, cricket::VoiceChannel*());
MOCK_METHOD0(video_channel, cricket::VideoChannel*());
« no previous file with comments | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | webrtc/pc/webrtcsession_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698