Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: net/tools/fetch/http_server_request_info.h

Issue 99333: A utility driver for doing client/server HTTP transaction... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/tools/fetch/http_server.cc ('k') | net/tools/fetch/http_server_response_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #ifndef NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_
6 #define NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_
7
8 #include <string>
9
10 #include "net/http/http_request_info.h"
11
12 // Meta information about an HTTP request.
13 // This is geared toward servers in that it keeps a map of the headers and
14 // values rather than just a list of header strings (which net::HttpRequestInfo
15 // does).
16 class HttpServerRequestInfo : public net::HttpRequestInfo {
17 public:
18 HttpServerRequestInfo() : net::HttpRequestInfo() {}
19
20 // A map of the names -> values for HTTP headers.
21 std::map<std::string, std::string> headers;
22 };
23
24 #endif // NET_BASE_TOOLS_HTTP_SERVER_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « net/tools/fetch/http_server.cc ('k') | net/tools/fetch/http_server_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698