summaryrefslogtreecommitdiffstats
path: root/net/server/http_server.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-04 16:24:30 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-04 16:24:30 +0000
commit2053a1e19dd652454331d3cc19e008674d88a569 (patch)
tree70546e13b3d28e532bdd1ded2436db7cdbc6c6b4 /net/server/http_server.h
parent28988005383ce73bede73c60162b5b60766617af (diff)
downloadchromium_src-2053a1e19dd652454331d3cc19e008674d88a569.zip
chromium_src-2053a1e19dd652454331d3cc19e008674d88a569.tar.gz
chromium_src-2053a1e19dd652454331d3cc19e008674d88a569.tar.bz2
DevTools: remove HttpListenSocket dependency on flush events.
Original review at: http://codereview.chromium.org/6349037/. TBR= git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/server/http_server.h')
-rw-r--r--net/server/http_server.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/server/http_server.h b/net/server/http_server.h
index bee6e28..270dea6 100644
--- a/net/server/http_server.h
+++ b/net/server/http_server.h
@@ -61,6 +61,8 @@ private:
void DetachSocket();
+ void Shift(int num_bytes);
+
HttpServer* server_;
scoped_refptr<ListenSocket> socket_;
bool is_web_socket_;
@@ -80,7 +82,9 @@ private:
// Expects the raw data to be stored in recv_data_. If parsing is successful,
// will remove the data parsed from recv_data_, leaving only the unused
// recv data.
- bool ParseHeaders(Connection* connection, HttpServerRequestInfo* info);
+ bool ParseHeaders(Connection* connection,
+ HttpServerRequestInfo* info,
+ int* ppos);
Connection* FindConnection(int connection_id);
Connection* FindConnection(ListenSocket* socket);