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

Unified Diff: webrtc/api/webrtcsession_unittest.cc

Issue 2537343003: Removing "crypto_required" from MediaContentDescription. (Closed)
Patch Set: Responding to comments (mostly just renaming) Created 4 years 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/webrtcsession_unittest.cc
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc
index aa1159bdeeead47a26ec54ee1b42718b0e4d463c..fe211a1e6ccdb1023168d5982cefc90c734f5534 100644
--- a/webrtc/api/webrtcsession_unittest.cc
+++ b/webrtc/api/webrtcsession_unittest.cc
@@ -3644,8 +3644,8 @@ TEST_F(WebRtcSessionTest, TestCryptoAfterSetLocalDescription) {
SessionDescriptionInterface* jsep_offer_str =
CreateSessionDescription(JsepSessionDescription::kOffer, offer_str, NULL);
SetLocalDescriptionWithoutError(jsep_offer_str);
- EXPECT_TRUE(session_->voice_channel()->secure_required());
- EXPECT_TRUE(session_->video_channel()->secure_required());
+ EXPECT_TRUE(session_->voice_channel()->srtp_required());
+ EXPECT_TRUE(session_->video_channel()->srtp_required());
}
// This test verifies the crypto parameter when security is disabled.
@@ -3663,8 +3663,8 @@ TEST_F(WebRtcSessionTest, TestCryptoAfterSetLocalDescriptionWithDisabled) {
SessionDescriptionInterface* jsep_offer_str =
CreateSessionDescription(JsepSessionDescription::kOffer, offer_str, NULL);
SetLocalDescriptionWithoutError(jsep_offer_str);
- EXPECT_FALSE(session_->voice_channel()->secure_required());
- EXPECT_FALSE(session_->video_channel()->secure_required());
+ EXPECT_FALSE(session_->voice_channel()->srtp_required());
+ EXPECT_FALSE(session_->video_channel()->srtp_required());
}
// This test verifies that an answer contains new ufrag and password if an offer

Powered by Google App Engine
This is Rietveld 408576698