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

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

Issue 4630001: Implement Origin cookies. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/base/cookie_options.h ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 static const char kCacheControl[]; 61 static const char kCacheControl[];
62 static const char kConnection[]; 62 static const char kConnection[];
63 static const char kContentType[]; 63 static const char kContentType[];
64 static const char kCookie[]; 64 static const char kCookie[];
65 static const char kContentLength[]; 65 static const char kContentLength[];
66 static const char kHost[]; 66 static const char kHost[];
67 static const char kIfModifiedSince[]; 67 static const char kIfModifiedSince[];
68 static const char kIfNoneMatch[]; 68 static const char kIfNoneMatch[];
69 static const char kIfRange[]; 69 static const char kIfRange[];
70 static const char kOrigin[]; 70 static const char kOrigin[];
71 static const char kOriginCookie[];
71 static const char kPragma[]; 72 static const char kPragma[];
72 static const char kProxyConnection[]; 73 static const char kProxyConnection[];
73 static const char kRange[]; 74 static const char kRange[];
74 static const char kReferer[]; 75 static const char kReferer[];
75 static const char kUserAgent[]; 76 static const char kUserAgent[];
76 77
77 HttpRequestHeaders(); 78 HttpRequestHeaders();
78 ~HttpRequestHeaders(); 79 ~HttpRequestHeaders();
79 80
80 bool IsEmpty() const { return headers_.empty(); } 81 bool IsEmpty() const { return headers_.empty(); }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Allow the copy construction and operator= to facilitate copying in 140 // Allow the copy construction and operator= to facilitate copying in
140 // HttpRequestInfo. 141 // HttpRequestInfo.
141 // TODO(willchan): Investigate to see if we can remove the need to copy 142 // TODO(willchan): Investigate to see if we can remove the need to copy
142 // HttpRequestInfo. 143 // HttpRequestInfo.
143 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders); 144 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders);
144 }; 145 };
145 146
146 } // namespace net 147 } // namespace net
147 148
148 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_ 149 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_
OLDNEW
« no previous file with comments | « net/base/cookie_options.h ('k') | net/http/http_request_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698