| Index: net/server/http_server.h
|
| diff --git a/net/server/http_server.h b/net/server/http_server.h
|
| index a0062d6821bc30f8129e590e31ef03bf0563aa84..e01e9745f95224ca49be1f2de97ea6415bac7f2b 100644
|
| --- a/net/server/http_server.h
|
| +++ b/net/server/http_server.h
|
| @@ -82,8 +82,6 @@ class HttpServer {
|
| private:
|
| friend class HttpServerTest;
|
|
|
| - typedef std::map<int, HttpConnection*> IdToConnectionMap;
|
| -
|
| void DoAcceptLoop();
|
| void OnAcceptCompleted(int rv);
|
| int HandleAcceptResult(int rv);
|
| @@ -114,7 +112,7 @@ class HttpServer {
|
| HttpServer::Delegate* const delegate_;
|
|
|
| int last_id_;
|
| - IdToConnectionMap id_to_connection_;
|
| + std::map<int, std::unique_ptr<HttpConnection>> id_to_connection_;
|
|
|
| base::WeakPtrFactory<HttpServer> weak_ptr_factory_;
|
|
|
|
|