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

Unified Diff: webrtc/api/webrtcsession.h

Issue 2537343003: Removing "crypto_required" from MediaContentDescription. (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/webrtcsession.h
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h
index 94f146ff57c7e4221cda105aa501514513f66965..e011e51489f18eaa74bd3d674cab0d6557aee676 100644
--- a/webrtc/api/webrtcsession.h
+++ b/webrtc/api/webrtcsession.h
@@ -197,9 +197,11 @@ class WebRtcSession :
cricket::BaseChannel* GetChannel(const std::string& content_name);
- void SetSdesPolicy(cricket::SecurePolicy secure_policy);
cricket::SecurePolicy SdesPolicy() const;
+ // Returns true if either DTLS or SDES is required by this session.
+ bool SecureRequired() const;
pthatcher1 2016/11/30 19:16:17 "SecureRequired" sounds funny, and the logic/meani
Taylor Brandstetter 2016/12/01 02:41:34 This is just the name we're using elsewhere, so I
+
// Get current ssl role from transport.
bool GetSslRole(const std::string& transport_name, rtc::SSLRole* role);

Powered by Google App Engine
This is Rietveld 408576698