| 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 e7002f455a1715f3c87090c821416a1057b38fef..bb05a30146a6f5f03a641b235bd1c6a12b965008 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| +++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| @@ -63,6 +63,7 @@ class FakeSocket : public net::StreamSocket {
|
| virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
|
| virtual bool SetSendBufferSize(int32 size) OVERRIDE;
|
| virtual int Connect(net::OldCompletionCallback* callback) OVERRIDE;
|
| + virtual int Connect(const net::CompletionCallback& callback) OVERRIDE;
|
| virtual void Disconnect() OVERRIDE;
|
| virtual bool IsConnected() const OVERRIDE;
|
| virtual bool IsConnectedAndIdle() const OVERRIDE;
|
| @@ -167,6 +168,10 @@ int FakeSocket::Connect(net::OldCompletionCallback* callback) {
|
| return 0;
|
| }
|
|
|
| +int FakeSocket::Connect(const net::CompletionCallback& callback) {
|
| + return 0;
|
| +}
|
| +
|
| void FakeSocket::Disconnect() {
|
| NOTREACHED();
|
| }
|
|
|