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

Side by Side Diff: net/http/http_request_headers.h

Issue 6969050: MAC Cookies (patch 4 of N) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/http/http_mac_signature_unittest.cc ('k') | net/http/http_request_headers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // HttpRequestHeaders manages the request headers. 5 // HttpRequestHeaders manages the request headers.
6 // It maintains these in a vector of header key/value pairs, thereby maintaining 6 // It maintains these in a vector of header key/value pairs, thereby maintaining
7 // the order of the headers. This means that any lookups are linear time 7 // the order of the headers. This means that any lookups are linear time
8 // operations. 8 // operations.
9 9
10 #ifndef NET_HTTP_HTTP_REQUEST_HEADERS_H_ 10 #ifndef NET_HTTP_HTTP_REQUEST_HEADERS_H_
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const HttpRequestHeaders::HeaderVector::const_iterator end_; 51 const HttpRequestHeaders::HeaderVector::const_iterator end_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(Iterator); 53 DISALLOW_COPY_AND_ASSIGN(Iterator);
54 }; 54 };
55 55
56 static const char kGetMethod[]; 56 static const char kGetMethod[];
57 57
58 static const char kAcceptCharset[]; 58 static const char kAcceptCharset[];
59 static const char kAcceptEncoding[]; 59 static const char kAcceptEncoding[];
60 static const char kAcceptLanguage[]; 60 static const char kAcceptLanguage[];
61 static const char kAuthorization[];
61 static const char kCacheControl[]; 62 static const char kCacheControl[];
62 static const char kConnection[]; 63 static const char kConnection[];
63 static const char kContentType[]; 64 static const char kContentType[];
64 static const char kCookie[]; 65 static const char kCookie[];
65 static const char kContentLength[]; 66 static const char kContentLength[];
66 static const char kHost[]; 67 static const char kHost[];
67 static const char kIfModifiedSince[]; 68 static const char kIfModifiedSince[];
68 static const char kIfNoneMatch[]; 69 static const char kIfNoneMatch[];
69 static const char kIfRange[]; 70 static const char kIfRange[];
70 static const char kOrigin[]; 71 static const char kOrigin[];
71 static const char kPragma[]; 72 static const char kPragma[];
73 static const char kProxyAuthorization[];
72 static const char kProxyConnection[]; 74 static const char kProxyConnection[];
73 static const char kRange[]; 75 static const char kRange[];
74 static const char kReferer[]; 76 static const char kReferer[];
75 static const char kUserAgent[]; 77 static const char kUserAgent[];
76 static const char kTransferEncoding[]; 78 static const char kTransferEncoding[];
77 79
78 HttpRequestHeaders(); 80 HttpRequestHeaders();
79 ~HttpRequestHeaders(); 81 ~HttpRequestHeaders();
80 82
81 bool IsEmpty() const { return headers_.empty(); } 83 bool IsEmpty() const { return headers_.empty(); }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Allow the copy construction and operator= to facilitate copying in 152 // Allow the copy construction and operator= to facilitate copying in
151 // HttpRequestInfo. 153 // HttpRequestInfo.
152 // TODO(willchan): Investigate to see if we can remove the need to copy 154 // TODO(willchan): Investigate to see if we can remove the need to copy
153 // HttpRequestInfo. 155 // HttpRequestInfo.
154 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders); 156 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders);
155 }; 157 };
156 158
157 } // namespace net 159 } // namespace net
158 160
159 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_ 161 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_
OLDNEW
« no previous file with comments | « net/http/http_mac_signature_unittest.cc ('k') | net/http/http_request_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698