Index: remoting/protocol/channel_socket_adapter_unittest.cc |
diff --git a/remoting/protocol/channel_socket_adapter_unittest.cc b/remoting/protocol/channel_socket_adapter_unittest.cc |
index 5ddd5598e0b981b5437bf7cee7fa7fca991bfdf7..4e6aa55543a4baa15a3ab376a81a9597d8768fb7 100644 |
--- a/remoting/protocol/channel_socket_adapter_unittest.cc |
+++ b/remoting/protocol/channel_socket_adapter_unittest.cc |
@@ -54,13 +54,11 @@ class MockTransportChannel : public cricket::TransportChannel { |
MOCK_METHOD1(GetSslCipher, bool(std::string* cipher)); |
MOCK_CONST_METHOD0(GetLocalCertificate, |
rtc::scoped_refptr<rtc::RTCCertificate>()); |
- MOCK_CONST_METHOD1(GetRemoteSSLCertificate, |
- bool(rtc::SSLCertificate** cert)); |
// This can't be a real mock method because gmock doesn't support move-only |
// return values. |
- virtual rtc::scoped_ptr<rtc::SSLCertificate> GetRemoteSSLCertificate() |
- const { |
+ rtc::scoped_ptr<rtc::SSLCertificate> GetRemoteSSLCertificate() |
+ const override { |
EXPECT_TRUE(false); // Never called. |
return nullptr; |
} |