FakeSocket 123 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc FakeSocket* incoming = new FakeSocket(NULL); FakeSocket 143 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc FakeSocket* incoming1 = new FakeSocket(NULL); FakeSocket 147 content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc FakeSocket* incoming2 = new FakeSocket(NULL); FakeSocket 41 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc socket_ = new FakeSocket(&sent_data_); FakeSocket 63 content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc FakeSocket* socket_; // Owned by |socket_host_|. FakeSocket 21 content/browser/renderer_host/p2p/socket_host_test_utils.cc FakeSocket::FakeSocket(std::string* written_data) FakeSocket 29 content/browser/renderer_host/p2p/socket_host_test_utils.cc FakeSocket::~FakeSocket() { } FakeSocket 31 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::AppendInputData(const char* data, int data_size) { FakeSocket 48 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetPeerAddress(const net::IPEndPoint& peer_address) { FakeSocket 52 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetLocalAddress(const net::IPEndPoint& local_address) { FakeSocket 56 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, FakeSocket 74 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, FakeSocket 82 content/browser/renderer_host/p2p/socket_host_test_utils.cc &FakeSocket::DoAsyncWrite, base::Unretained(this), FakeSocket 95 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, FakeSocket 106 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::SetReceiveBufferSize(int32 size) { FakeSocket 111 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::SetSendBufferSize(int32 size) { FakeSocket 116 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Connect(const net::CompletionCallback& callback) { FakeSocket 120 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::Disconnect() { FakeSocket 124 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::IsConnected() const { FakeSocket 128 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::IsConnectedAndIdle() const { FakeSocket 132 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const { FakeSocket 137 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const { FakeSocket 142 content/browser/renderer_host/p2p/socket_host_test_utils.cc const net::BoundNetLog& FakeSocket::NetLog() const { FakeSocket 147 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetSubresourceSpeculation() { FakeSocket 151 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::SetOmniboxSpeculation() { FakeSocket 155 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::WasEverUsed() const { FakeSocket 159 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::UsingTCPFastOpen() const { FakeSocket 163 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::WasNpnNegotiated() const { FakeSocket 167 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::NextProto FakeSocket::GetNegotiatedProtocol() const { FakeSocket 171 content/browser/renderer_host/p2p/socket_host_test_utils.cc bool FakeSocket::GetSSLInfo(net::SSLInfo* ssl_info) { FakeSocket 31 content/browser/renderer_host/p2p/socket_host_test_utils.h class FakeSocket : public net::StreamSocket { FakeSocket 33 content/browser/renderer_host/p2p/socket_host_test_utils.h FakeSocket(std::string* written_data); FakeSocket 34 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual ~FakeSocket(); FakeSocket 77 jingle/glue/pseudotcp_adapter_unittest.cc FakeSocket() FakeSocket 99 jingle/glue/pseudotcp_adapter_unittest.cc void Connect(FakeSocket* peer_socket) { FakeSocket 136 jingle/glue/pseudotcp_adapter_unittest.cc base::Bind(&FakeSocket::AppendInputPacket, FakeSocket 161 jingle/glue/pseudotcp_adapter_unittest.cc FakeSocket* peer_socket_; FakeSocket 304 jingle/glue/pseudotcp_adapter_unittest.cc host_socket_ = new FakeSocket(); FakeSocket 305 jingle/glue/pseudotcp_adapter_unittest.cc client_socket_ = new FakeSocket(); FakeSocket 314 jingle/glue/pseudotcp_adapter_unittest.cc FakeSocket* host_socket_; FakeSocket 315 jingle/glue/pseudotcp_adapter_unittest.cc FakeSocket* client_socket_; FakeSocket 158 net/socket/ssl_server_socket_unittest.cc FakeSocket(FakeDataChannel* incoming_channel, FakeSocket 251 net/socket/ssl_server_socket_unittest.cc DISALLOW_COPY_AND_ASSIGN(FakeSocket); FakeSocket 261 net/socket/ssl_server_socket_unittest.cc FakeSocket client(&channel_1, &channel_2); FakeSocket 262 net/socket/ssl_server_socket_unittest.cc FakeSocket server(&channel_2, &channel_1); FakeSocket 309 net/socket/ssl_server_socket_unittest.cc scoped_ptr<StreamSocket>(new FakeSocket(&channel_1_, &channel_2_))); FakeSocket 311 net/socket/ssl_server_socket_unittest.cc new FakeSocket(&channel_2_, &channel_1_)); FakeSocket 91 remoting/protocol/authenticator_test_base.cc client_fake_socket_.reset(new FakeSocket()); FakeSocket 92 remoting/protocol/authenticator_test_base.cc host_fake_socket_.reset(new FakeSocket()); FakeSocket 28 remoting/protocol/authenticator_test_base.h class FakeSocket; FakeSocket 62 remoting/protocol/authenticator_test_base.h scoped_ptr<FakeSocket> client_fake_socket_; FakeSocket 63 remoting/protocol/authenticator_test_base.h scoped_ptr<FakeSocket> host_fake_socket_; FakeSocket 51 remoting/protocol/buffered_socket_writer_unittest.cc socket_.reset(new FakeSocket()); FakeSocket 101 remoting/protocol/buffered_socket_writer_unittest.cc scoped_ptr<FakeSocket> socket_; FakeSocket 83 remoting/protocol/channel_multiplexer_unittest.cc FakeSocket* host_socket = FakeSocket 85 remoting/protocol/channel_multiplexer_unittest.cc FakeSocket* client_socket = FakeSocket 20 remoting/protocol/fake_session.cc FakeSocket::FakeSocket() FakeSocket 33 remoting/protocol/fake_session.cc FakeSocket::~FakeSocket() { FakeSocket 37 remoting/protocol/fake_session.cc void FakeSocket::AppendInputData(const std::vector<char>& data) { FakeSocket 54 remoting/protocol/fake_session.cc void FakeSocket::PairWith(FakeSocket* peer_socket) { FakeSocket 60 remoting/protocol/fake_session.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, FakeSocket 85 remoting/protocol/fake_session.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, FakeSocket 95 remoting/protocol/fake_session.cc &FakeSocket::DoAsyncWrite, weak_factory_.GetWeakPtr(), FakeSocket 111 remoting/protocol/fake_session.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, FakeSocket 126 remoting/protocol/fake_session.cc void FakeSocket::DoWrite(net::IOBuffer* buf, int buf_len) { FakeSocket 133 remoting/protocol/fake_session.cc base::Bind(&FakeSocket::AppendInputData, FakeSocket 139 remoting/protocol/fake_session.cc int FakeSocket::SetReceiveBufferSize(int32 size) { FakeSocket 144 remoting/protocol/fake_session.cc int FakeSocket::SetSendBufferSize(int32 size) { FakeSocket 149 remoting/protocol/fake_session.cc int FakeSocket::Connect(const net::CompletionCallback& callback) { FakeSocket 154 remoting/protocol/fake_session.cc void FakeSocket::Disconnect() { FakeSocket 158 remoting/protocol/fake_session.cc bool FakeSocket::IsConnected() const { FakeSocket 163 remoting/protocol/fake_session.cc bool FakeSocket::IsConnectedAndIdle() const { FakeSocket 168 remoting/protocol/fake_session.cc int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const { FakeSocket 174 remoting/protocol/fake_session.cc int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const { FakeSocket 179 remoting/protocol/fake_session.cc const net::BoundNetLog& FakeSocket::NetLog() const { FakeSocket 184 remoting/protocol/fake_session.cc void FakeSocket::SetSubresourceSpeculation() { FakeSocket 188 remoting/protocol/fake_session.cc void FakeSocket::SetOmniboxSpeculation() { FakeSocket 192 remoting/protocol/fake_session.cc bool FakeSocket::WasEverUsed() const { FakeSocket 197 remoting/protocol/fake_session.cc bool FakeSocket::UsingTCPFastOpen() const { FakeSocket 202 remoting/protocol/fake_session.cc bool FakeSocket::WasNpnNegotiated() const { FakeSocket 206 remoting/protocol/fake_session.cc net::NextProto FakeSocket::GetNegotiatedProtocol() const { FakeSocket 211 remoting/protocol/fake_session.cc bool FakeSocket::GetSSLInfo(net::SSLInfo* ssl_info) { FakeSocket 291 remoting/protocol/fake_session.cc FakeSocket* FakeSession::GetStreamChannel(const std::string& name) { FakeSocket 338 remoting/protocol/fake_session.cc scoped_ptr<FakeSocket> channel; FakeSocket 342 remoting/protocol/fake_session.cc channel.reset(new FakeSocket()); FakeSocket 39 remoting/protocol/fake_session.h class FakeSocket : public net::StreamSocket { FakeSocket 41 remoting/protocol/fake_session.h FakeSocket(); FakeSocket 42 remoting/protocol/fake_session.h virtual ~FakeSocket(); FakeSocket 51 remoting/protocol/fake_session.h void PairWith(FakeSocket* peer_socket); FakeSocket 95 remoting/protocol/fake_session.h base::WeakPtr<FakeSocket> peer_socket_; FakeSocket 104 remoting/protocol/fake_session.h base::WeakPtrFactory<FakeSocket> weak_factory_; FakeSocket 106 remoting/protocol/fake_session.h DISALLOW_COPY_AND_ASSIGN(FakeSocket); FakeSocket 166 remoting/protocol/fake_session.h FakeSocket* GetStreamChannel(const std::string& name); FakeSocket 204 remoting/protocol/fake_session.h std::map<std::string, FakeSocket*> stream_channels_; FakeSocket 104 remoting/protocol/message_reader_unittest.cc FakeSocket socket_; FakeSocket 73 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc client_fake_socket_.reset(new FakeSocket()); FakeSocket 74 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc host_fake_socket_.reset(new FakeSocket()); FakeSocket 128 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<FakeSocket> client_fake_socket_; FakeSocket 129 remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc scoped_ptr<FakeSocket> host_fake_socket_;