diff options
Diffstat (limited to 'remoting/protocol')
-rw-r--r-- | remoting/protocol/channel_socket_adapter_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/protocol/channel_socket_adapter_unittest.cc b/remoting/protocol/channel_socket_adapter_unittest.cc index 85e73a1..d488c4b 100644 --- a/remoting/protocol/channel_socket_adapter_unittest.cc +++ b/remoting/protocol/channel_socket_adapter_unittest.cc @@ -49,8 +49,9 @@ class MockTransportChannel : public cricket::TransportChannel { MOCK_METHOD1(SetSrtpCiphers, bool(const std::vector<std::string>& ciphers)); MOCK_METHOD1(GetSrtpCipher, bool(std::string* cipher)); MOCK_METHOD1(GetSslCipher, bool(std::string* cipher)); - MOCK_CONST_METHOD1(GetLocalIdentity, bool(rtc::SSLIdentity** identity)); - MOCK_CONST_METHOD1(GetRemoteCertificate, + MOCK_CONST_METHOD0(GetLocalCertificate, + rtc::scoped_refptr<rtc::RTCCertificate>()); + MOCK_CONST_METHOD1(GetRemoteSSLCertificate, bool(rtc::SSLCertificate** cert)); MOCK_METHOD6(ExportKeyingMaterial, bool(const std::string& label, const uint8* context, |