Chromium Code Reviews| 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 3ecab7ee5e04420c2d723d57569a4f02091caa0c..bb67eafaf0b4c1771c0cb42fc0cbf2042766d71d 100644 |
| --- a/remoting/protocol/channel_socket_adapter_unittest.cc |
| +++ b/remoting/protocol/channel_socket_adapter_unittest.cc |
| @@ -55,6 +55,14 @@ class MockTransportChannel : public cricket::TransportChannel { |
| 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 { |
|
Sergey Ulanov
2016/04/05 18:05:23
I think this should be marked as override instead
kwiberg-chromium
2016/04/06 08:14:51
This code must compile both before and after the p
|
| + EXPECT_TRUE(false); // Never called. |
| + return nullptr; |
| + } |
| + |
| MOCK_METHOD6(ExportKeyingMaterial, |
| bool(const std::string& label, |
| const uint8_t* context, |