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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/http/http_proxy_client_socket_wrapper.cc ('k') | net/http/http_request_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
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_
11 #define NET_HTTP_HTTP_REQUEST_HEADERS_H_ 11 #define NET_HTTP_HTTP_REQUEST_HEADERS_H_
12 12
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/basictypes.h" 16 #include "base/macros.h"
17 #include "base/strings/string_piece.h" 17 #include "base/strings/string_piece.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 #include "net/log/net_log.h" 19 #include "net/log/net_log.h"
20 20
21 namespace net { 21 namespace net {
22 22
23 class NET_EXPORT HttpRequestHeaders { 23 class NET_EXPORT HttpRequestHeaders {
24 public: 24 public:
25 struct HeaderKeyValuePair { 25 struct HeaderKeyValuePair {
26 HeaderKeyValuePair(); 26 HeaderKeyValuePair();
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Allow the copy construction and operator= to facilitate copying in 172 // Allow the copy construction and operator= to facilitate copying in
173 // HttpRequestHeaders. 173 // HttpRequestHeaders.
174 // TODO(willchan): Investigate to see if we can remove the need to copy 174 // TODO(willchan): Investigate to see if we can remove the need to copy
175 // HttpRequestHeaders. 175 // HttpRequestHeaders.
176 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders); 176 // DISALLOW_COPY_AND_ASSIGN(HttpRequestHeaders);
177 }; 177 };
178 178
179 } // namespace net 179 } // namespace net
180 180
181 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_ 181 #endif // NET_HTTP_HTTP_REQUEST_HEADERS_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_wrapper.cc ('k') | net/http/http_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698