| Index: chrome_frame/test/test_server.h
|
| diff --git a/chrome_frame/test/test_server.h b/chrome_frame/test/test_server.h
|
| index b827cebbc1bb909ae2213f8ee5337dcfab4c8f94..c3fab96b56ee617086c13d9a8adf4b24d21709a7 100644
|
| --- a/chrome_frame/test/test_server.h
|
| +++ b/chrome_frame/test/test_server.h
|
| @@ -288,7 +288,7 @@ class SimpleWebServer : public ListenSocket::ListenSocketDelegate {
|
|
|
| // ListenSocketDelegate overrides.
|
| virtual void DidAccept(ListenSocket* server, ListenSocket* connection);
|
| - virtual void DidRead(ListenSocket* connection, const std::string& data);
|
| + virtual void DidRead(ListenSocket* connection, const char* data, int len);
|
| virtual void DidClose(ListenSocket* sock);
|
|
|
| const ConnectionList& connections() const {
|
| @@ -381,7 +381,7 @@ class HTTPTestServer : public ListenSocket::ListenSocketDelegate {
|
| virtual void Post(ConfigurableConnection* connection,
|
| const std::string& path, const Request& r) = 0;
|
|
|
| -private:
|
| + private:
|
| typedef std::list<scoped_refptr<ConfigurableConnection> > ConnectionList;
|
| ConnectionList::iterator FindConnection(const ListenSocket* socket);
|
| scoped_refptr<ConfigurableConnection> ConnectionFromSocket(
|
| @@ -389,7 +389,7 @@ private:
|
|
|
| // ListenSocketDelegate overrides.
|
| virtual void DidAccept(ListenSocket* server, ListenSocket* socket);
|
| - virtual void DidRead(ListenSocket* socket, const std::string& data);
|
| + virtual void DidRead(ListenSocket* socket, const char* data, int len);
|
| virtual void DidClose(ListenSocket* socket);
|
|
|
| scoped_refptr<ListenSocket> server_;
|
|
|