Index: content/browser/renderer_host/p2p/socket_host_test_utils.h |
diff --git a/content/browser/renderer_host/p2p/socket_host_test_utils.h b/content/browser/renderer_host/p2p/socket_host_test_utils.h |
index 3ab5de3108ed5239344c37f6c1275a4a4d5a6eb8..c3deea8ecc87427109b5f86a4ca447fc5dd9b910 100644 |
--- a/content/browser/renderer_host/p2p/socket_host_test_utils.h |
+++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h |
@@ -75,7 +75,9 @@ class FakeSocket : public net::StreamSocket { |
virtual bool UsingTCPFastOpen() const OVERRIDE; |
virtual int64 NumBytesRead() const OVERRIDE; |
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
+ virtual bool WasNpnNegotiated() const OVERRIDE; |
virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; |
+ virtual bool GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; |
private: |
bool read_pending_; |
@@ -219,10 +221,18 @@ base::TimeDelta FakeSocket::GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+bool FakeSocket::WasNpnNegotiated() const { |
+ return false; |
+} |
+ |
net::NextProto FakeSocket::GetNegotiatedProtocol() const { |
return net::kProtoUnknown; |
} |
+bool FakeSocket::GetSSLInfo(net::SSLInfo* ssl_info) { |
+ return false; |
+} |
+ |
void CreateRandomPacket(std::vector<char>* packet) { |
size_t size = kStunHeaderSize + rand() % 1000; |
packet->resize(size); |