Home
last modified time | relevance | path

Searched refs:amount_sent (Results 1 – 10 of 10) sorted by relevance

/external/chromium/net/websockets/
Dwebsocket_job.cc185 void WebSocketJob::OnSentData(SocketStream* socket, int amount_sent) { in OnSentData() argument
190 OnSentHandshakeRequest(socket, amount_sent); in OnSentData()
195 DCHECK_GT(amount_sent, 0); in OnSentData()
197 current_buffer_->DidConsume(amount_sent); in OnSentData()
203 amount_sent = send_frame_handler_->GetOriginalBufferSize(); in OnSentData()
204 DCHECK_GT(amount_sent, 0); in OnSentData()
207 delegate_->OnSentData(socket, amount_sent); in OnSentData()
320 SocketStream* socket, int amount_sent) { in OnSentHandshakeRequest() argument
322 handshake_request_sent_ += amount_sent; in OnSentHandshakeRequest()
Dwebsocket_job_unittest.cc62 virtual void OnSentData(SocketStream* socket, int amount_sent) { in OnSentData() argument
63 amount_sent_ += amount_sent; in OnSentData()
72 size_t amount_sent() const { return amount_sent_; } in amount_sent() function in net::MockSocketStreamDelegate
255 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent()); in TEST_F()
302 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent()); in TEST_F()
382 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent()); in TEST_F()
469 EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent()); in TEST_F()
Dwebsocket_job.h62 SocketStream* socket, int amount_sent);
80 void OnSentHandshakeRequest(SocketStream* socket, int amount_sent);
Dwebsocket.cc180 void WebSocket::OnSentData(SocketStream* socket_stream, int amount_sent) { in OnSentData() argument
183 current_write_buf_->DidConsume(amount_sent); in OnSentData()
Dwebsocket.h153 virtual void OnSentData(SocketStream* socket_stream, int amount_sent);
Dwebsocket_throttle_unittest.cc24 virtual void OnSentData(net::SocketStream* socket, int amount_sent) {} in OnSentData() argument
/external/chromium/webkit/glue/
Dwebsocketstreamhandle_impl.cc114 WebKit::WebSocketStreamHandle* web_handle, int amount_sent) { in DidSendData() argument
116 client_->didSendData(handle_, amount_sent); in DidSendData()
Dwebsocketstreamhandle_delegate.h29 int amount_sent) {} in DidSendData() argument
/external/chromium/net/socket_stream/
Dsocket_stream_unittest.cc83 int amount_sent) { in OnSentData() argument
86 socket, amount_sent, std::string(), NULL)); in OnSentData()
Dsocket_stream.h76 int amount_sent) = 0;