Enables compositing support for webview.
[chromium-blink-merge.git] / net / tools / fetch / http_server_response_info.h
blobe01f7300d97f9d51263d77d15404a73c359708cf
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_HTTP_HTTP_RESPONSE_INFO_H_
6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_
8 #include <map>
9 #include <string>
11 // Meta information about a server response.
12 class HttpServerResponseInfo {
13 public:
14 HttpServerResponseInfo();
15 ~HttpServerResponseInfo();
17 // The response protocol.
18 std::string protocol;
20 // The status code.
21 int status;
23 // The server identifier.
24 std::string server_name;
26 // The content type.
27 std::string content_type;
29 // The content length.
30 int content_length;
32 // Should we close the connection.
33 bool connection_close;
35 // Additional response headers.
36 std::map<std::string, std::string> headers;
39 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_