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 8 HttpServer::HttpServer(std::string ip, int port) 9 : ALLOW_THIS_IN_INITIALIZER_LIST(session_(new HttpSession(ip, port))) { 10 } 11 12 HttpServer::~HttpServer() { 13 } 14