OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ | 5 #ifndef NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ |
6 #define NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ | 6 #define NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <utility> | 11 #include <utility> |
10 | 12 |
11 #include "base/strings/string_split.h" | 13 #include "base/strings/string_split.h" |
12 #include "net/http/http_status_code.h" | 14 #include "net/http/http_status_code.h" |
13 | 15 |
14 namespace net { | 16 namespace net { |
15 | 17 |
16 class HttpServerResponseInfo { | 18 class HttpServerResponseInfo { |
17 public: | 19 public: |
(...skipping 22 matching lines...) Expand all Loading... |
40 using Headers = base::StringPairs; | 42 using Headers = base::StringPairs; |
41 | 43 |
42 HttpStatusCode status_code_; | 44 HttpStatusCode status_code_; |
43 Headers headers_; | 45 Headers headers_; |
44 std::string body_; | 46 std::string body_; |
45 }; | 47 }; |
46 | 48 |
47 } // namespace net | 49 } // namespace net |
48 | 50 |
49 #endif // NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ | 51 #endif // NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_ |
OLD | NEW |