Chromium Code Reviews

Unified Diff: webrtc/p2p/base/dtlstransportchannel.h

Issue 1337673002: Change WebRTC SslCipher to be exposed as number only. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/p2p/base/dtlstransportchannel.h
diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
index e52ca10d1d7b70737f3e7283a440bc04beb5eca6..73f10ad15fa459a3919adddfe28dc2afbb82b5fc 100644
--- a/webrtc/p2p/base/dtlstransportchannel.h
+++ b/webrtc/p2p/base/dtlstransportchannel.h
@@ -135,13 +135,13 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
bool SetSrtpCiphers(const std::vector<std::string>& ciphers) override;
// Find out which DTLS-SRTP cipher was negotiated
- bool GetSrtpCipher(std::string* cipher) override;
+ bool GetSrtpCipherByRfcName(std::string* cipher) override;
bool GetSslRole(rtc::SSLRole* role) const override;
bool SetSslRole(rtc::SSLRole role) override;
// Find out which DTLS cipher was negotiated
- bool GetSslCipher(std::string* cipher) override;
+ bool GetSslCipher(uint16_t* cipher) override;
// Once DTLS has been established, this method retrieves the certificate in
// use by the remote peer, for use in external identity verification.

Powered by Google App Engine