Index: webrtc/p2p/base/transportchannel.h |
diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h |
index 89c7e6d422086018981791e4019697e65801490f..ea18957ef369278a4c7f832b37873ec55765b82f 100644 |
--- a/webrtc/p2p/base/transportchannel.h |
+++ b/webrtc/p2p/base/transportchannel.h |
@@ -108,14 +108,13 @@ |
virtual bool GetSslRole(rtc::SSLRole* role) const = 0; |
// Sets up the ciphers to use for DTLS-SRTP. |
- virtual bool SetSrtpCryptoSuites(const std::vector<int>& ciphers) = 0; |
- // Keep the original one for backward compatibility until all dependencies |
- // move away. TODO(guoweis): Remove this function. |
- virtual bool SetSrtpCiphers(const std::vector<std::string>& ciphers); |
+ virtual bool SetSrtpCiphers(const std::vector<std::string>& ciphers) = 0; |
// Finds out which DTLS-SRTP cipher was negotiated. |
// TODO(guoweis): Remove this once all dependencies implement this. |
- virtual bool GetSrtpCryptoSuite(int* cipher) { return false; } |
+ virtual bool GetSrtpCryptoSuite(std::string* cipher) { |
+ return false; |
+ } |
// Finds out which DTLS cipher was negotiated. |
// TODO(guoweis): Remove this once all dependencies implement this. |