| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 static const char kAcceptCharset[]; | 66 static const char kAcceptCharset[]; |
| 67 static const char kAcceptEncoding[]; | 67 static const char kAcceptEncoding[]; |
| 68 static const char kAcceptLanguage[]; | 68 static const char kAcceptLanguage[]; |
| 69 static const char kAuthorization[]; | 69 static const char kAuthorization[]; |
| 70 static const char kCacheControl[]; | 70 static const char kCacheControl[]; |
| 71 static const char kConnection[]; | 71 static const char kConnection[]; |
| 72 static const char kContentType[]; | 72 static const char kContentType[]; |
| 73 static const char kCookie[]; | 73 static const char kCookie[]; |
| 74 static const char kContentLength[]; | 74 static const char kContentLength[]; |
| 75 static const char kHost[]; | 75 static const char kHost[]; |
| 76 static const char kIfMatch[]; |
| 76 static const char kIfModifiedSince[]; | 77 static const char kIfModifiedSince[]; |
| 77 static const char kIfNoneMatch[]; | 78 static const char kIfNoneMatch[]; |
| 78 static const char kIfRange[]; | 79 static const char kIfRange[]; |
| 80 static const char kIfUnmodifiedSince[]; |
| 79 static const char kOrigin[]; | 81 static const char kOrigin[]; |
| 80 static const char kPragma[]; | 82 static const char kPragma[]; |
| 81 static const char kProxyAuthorization[]; | 83 static const char kProxyAuthorization[]; |
| 82 static const char kProxyConnection[]; | 84 static const char kProxyConnection[]; |
| 83 static const char kRange[]; | 85 static const char kRange[]; |
| 84 static const char kReferer[]; | 86 static const char kReferer[]; |
| 85 static const char kTransferEncoding[]; | 87 static const char kTransferEncoding[]; |
| 86 static const char kTokenBinding[]; | 88 static const char kTokenBinding[]; |
| 87 static const char kUserAgent[]; | 89 static const char kUserAgent[]; |
| 88 | 90 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // Allow the copy construction and operator= to facilitate copying in | 185 // Allow the copy construction and operator= to facilitate copying in |
| 184 // HttpRequestHeaders. | 186 // HttpRequestHeaders. |
| 185 // TODO(willchan): Investigate to see if we can remove the need to copy | 187 // TODO(willchan): Investigate to see if we can remove the need to copy |
| 186 // HttpRequestHeaders. | 188 // HttpRequestHeaders. |
| 187 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders); | 189 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders); |
| 188 }; | 190 }; |
| 189 | 191 |
| 190 } // namespace net | 192 } // namespace net |
| 191 | 193 |
| 192 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_ | 194 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_ |
| OLD | NEW |