Home
last modified time | relevance | path

Searched refs:HttpStreamParser (Results 1 – 17 of 17) sorted by relevance

/external/chromium/net/http/
Dhttp_stream_parser.cc24 HttpStreamParser::HttpStreamParser(ClientSocketHandle* connection, in HttpStreamParser() function in net::HttpStreamParser
44 io_callback_(this, &HttpStreamParser::OnIOComplete)), in HttpStreamParser()
51 HttpStreamParser::~HttpStreamParser() { in ~HttpStreamParser()
56 int HttpStreamParser::SendRequest(const std::string& request_line, in SendRequest()
101 int HttpStreamParser::ReadResponseHeaders(CompletionCallback* callback) { in ReadResponseHeaders()
129 void HttpStreamParser::Close(bool not_reusable) { in Close()
135 int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len, in ReadResponseBody()
156 void HttpStreamParser::OnIOComplete(int result) { in OnIOComplete()
168 void HttpStreamParser::OnChunkAvailable() { in OnChunkAvailable()
178 int HttpStreamParser::DoLoop(int result) { in DoLoop()
[all …]
Dhttp_stream_parser.h29 class HttpStreamParser : public ChunkCallback {
36 HttpStreamParser(ClientSocketHandle* connection,
40 ~HttpStreamParser();
192 CompletionCallbackImpl<HttpStreamParser> io_callback_;
201 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser);
Dhttp_basic_stream.h27 class HttpStreamParser; variable
38 HttpStreamParser* parser,
87 scoped_ptr<HttpStreamParser> parser_;
Dhttp_basic_stream.cc19 HttpStreamParser* parser, in HttpBasicStream()
35 parser_.reset(new HttpStreamParser(connection_.get(), request_info, in InitializeStream()
Dhttp_proxy_client_socket.h32 class HttpStreamParser; variable
149 scoped_ptr<HttpStreamParser> http_stream_parser_;
Dhttp_proxy_client_socket.cc395 new HttpStreamParser(transport_.get(), &request_, parser_buf_, net_log_)); in DoSendRequest()
/external/chromium_org/net/http/
Dhttp_stream_parser.cc104 class HttpStreamParser::SeekableIOBuffer : public net::IOBuffer {
170 const size_t HttpStreamParser::kChunkHeaderFooterSize = 12;
172 HttpStreamParser::HttpStreamParser(ClientSocketHandle* connection, in HttpStreamParser() function in net::HttpStreamParser
191 io_callback_ = base::Bind(&HttpStreamParser::OnIOComplete, in HttpStreamParser()
195 HttpStreamParser::~HttpStreamParser() { in ~HttpStreamParser()
198 int HttpStreamParser::SendRequest(const std::string& request_line, in SendRequest()
293 int HttpStreamParser::ReadResponseHeaders(const CompletionCallback& callback) { in ReadResponseHeaders()
322 void HttpStreamParser::Close(bool not_reusable) { in Close()
328 int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len, in ReadResponseBody()
349 void HttpStreamParser::OnIOComplete(int result) { in OnIOComplete()
[all …]
Dhttp_stream_parser_unittest.cc40 kOutputSize - HttpStreamParser::kChunkHeaderFooterSize;
43 TEST(HttpStreamParser, EncodeChunk_EmptyPayload) { in TEST() argument
49 HttpStreamParser::EncodeChunk(kPayload, output, sizeof(output)); in TEST()
54 TEST(HttpStreamParser, EncodeChunk_ShortPayload) { in TEST() argument
61 HttpStreamParser::EncodeChunk(kPayload, output, sizeof(output)); in TEST()
66 TEST(HttpStreamParser, EncodeChunk_LargePayload) { in TEST() argument
73 HttpStreamParser::EncodeChunk(kPayload, output, sizeof(output)); in TEST()
78 TEST(HttpStreamParser, EncodeChunk_FullPayload) { in TEST() argument
85 HttpStreamParser::EncodeChunk(kPayload, output, sizeof(output)); in TEST()
90 TEST(HttpStreamParser, EncodeChunk_TooLargePayload) { in TEST() argument
[all …]
Dhttp_stream_parser.h35 class NET_EXPORT_PRIVATE HttpStreamParser {
42 HttpStreamParser(ClientSocketHandle* connection,
46 virtual ~HttpStreamParser();
238 base::WeakPtrFactory<HttpStreamParser> weak_ptr_factory_;
240 DISALLOW_COPY_AND_ASSIGN(HttpStreamParser);
Dhttp_basic_state.h25 class HttpStreamParser; variable
39 HttpStreamParser* parser() const { return parser_.get(); } in parser()
59 scoped_ptr<HttpStreamParser> parser_;
Dhttp_basic_stream.h25 class HttpStreamParser; variable
86 HttpStreamParser* parser() const { return state_.parser(); } in parser()
Dhttp_proxy_client_socket.h32 class HttpStreamParser; variable
141 scoped_ptr<HttpStreamParser> http_stream_parser_;
Dhttp_basic_state.cc33 parser_.reset(new HttpStreamParser( in Initialize()
Dhttp_pipelined_connection_impl.h188 linked_ptr<HttpStreamParser> parser;
Dhttp_proxy_client_socket.cc419 http_stream_parser_.reset(new HttpStreamParser( in DoSendRequest()
Dhttp_pipelined_connection_impl.cc133 stream_info_map_[pipeline_id].parser.reset(new HttpStreamParser( in InitializeParser()
/external/chromium_org/net/websockets/
Dwebsocket_basic_handshake_stream.h22 class HttpStreamParser; variable
90 HttpStreamParser* parser() const { return state_.parser(); } in parser()