OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/tools/fetch/http_server.h" | 5 #include "net/tools/fetch/http_server.h" |
6 #include "net/tools/fetch/http_listen_socket.h" | |
7 | 6 |
8 HttpServer::HttpServer(std::string ip, int port) | 7 HttpServer::HttpServer(std::string ip, int port) |
9 : ALLOW_THIS_IN_INITIALIZER_LIST(session_(new HttpSession(ip, port))) { | 8 : ALLOW_THIS_IN_INITIALIZER_LIST(session_(new HttpSession(ip, port))) { |
10 } | 9 } |
11 | 10 |
12 HttpServer::~HttpServer() { | 11 HttpServer::~HttpServer() { |
13 } | 12 } |
OLD | NEW |