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 3 // found in the LICENSE file. 4 5 #include "net/tools/fetch/http_server.h" 6 #include "net/tools/fetch/http_listen_socket.h" 7 HttpServer(std::string ip,int port)8HttpServer::HttpServer(std::string ip, int port) 9 : ALLOW_THIS_IN_INITIALIZER_LIST(session_(new HttpSession(ip, port))) { 10 } 11 ~HttpServer()12HttpServer::~HttpServer() { 13 } 14