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 cd00637296a8d280c853f9a11c284ec6346f6da5..03822ffb3d72f37b6bafd79109a682a112d531ce 100644 |
--- a/content/browser/renderer_host/p2p/socket_host_test_utils.h |
+++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h |
@@ -75,6 +75,7 @@ class FakeSocket : public net::StreamSocket { |
virtual bool UsingTCPFastOpen() const OVERRIDE; |
virtual int64 NumBytesRead() const OVERRIDE; |
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
+ virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE; |
private: |
bool read_pending_; |
@@ -219,6 +220,10 @@ base::TimeDelta FakeSocket::GetConnectTimeMicros() const { |
return base::TimeDelta::FromMicroseconds(-1); |
} |
+net::NextProto FakeSocket::GetNegotiatedProtocol() const { |
+ return net::kProtoUnknown; |
+} |
+ |
void CreateRandomPacket(std::vector<char>* packet) { |
size_t size = kStunHeaderSize + rand() % 1000; |
packet->resize(size); |