Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: remoting/protocol/channel_socket_adapter_unittest.cc

Issue 1852663004: MockTransportChannel::GetRemoteSSLCertificate: Drop support for old signature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@using-before
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698