Enables compositing support for webview.
[chromium-blink-merge.git] / net / tools / fetch / http_server.h
blob691413078e59d07321ad4da6007c911bb317b0e7
1 // Copyright (c) 2011 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.
5 #ifndef NET_BASE_TOOLS_HTTP_SERVER_H_
6 #define NET_BASE_TOOLS_HTTP_SERVER_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "net/tools/fetch/http_session.h"
12 // Implements a simple, single-threaded HttpServer.
13 // Right now, this class implements no functionality above and beyond
14 // the HttpSession.
15 class HttpServer {
16 public:
17 HttpServer(std::string ip, int port);
18 ~HttpServer();
20 private:
21 scoped_ptr<HttpSession> session_;
22 DISALLOW_COPY_AND_ASSIGN(HttpServer);
25 #endif // NET_BASE_TOOLS_HTTP_SERVER_H_