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 #ifndef NET_SPDY_SPDY_HEADER_BLOCK_H_ | 5 #ifndef NET_SPDY_SPDY_HEADER_BLOCK_H_ |
6 #define NET_SPDY_SPDY_HEADER_BLOCK_H_ | 6 #define NET_SPDY_SPDY_HEADER_BLOCK_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
| 13 #include <utility> |
13 #include <vector> | 14 #include <vector> |
14 | 15 |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "net/base/linked_hash_map.h" | 17 #include "net/base/linked_hash_map.h" |
17 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
18 #include "net/log/net_log.h" | 19 #include "net/log/net_log.h" |
19 #include "net/spdy/platform/api/spdy_string.h" | 20 #include "net/spdy/platform/api/spdy_string.h" |
20 #include "net/spdy/platform/api/spdy_string_piece.h" | 21 #include "net/spdy/platform/api/spdy_string_piece.h" |
21 | 22 |
22 namespace base { | 23 namespace base { |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // to |headers|. |event_param| must have been created by | 251 // to |headers|. |event_param| must have been created by |
251 // SpdyHeaderBlockNetLogCallback. On failure, returns false and clears | 252 // SpdyHeaderBlockNetLogCallback. On failure, returns false and clears |
252 // |headers|. | 253 // |headers|. |
253 NET_EXPORT bool SpdyHeaderBlockFromNetLogParam( | 254 NET_EXPORT bool SpdyHeaderBlockFromNetLogParam( |
254 const base::Value* event_param, | 255 const base::Value* event_param, |
255 SpdyHeaderBlock* headers); | 256 SpdyHeaderBlock* headers); |
256 | 257 |
257 } // namespace net | 258 } // namespace net |
258 | 259 |
259 #endif // NET_SPDY_SPDY_HEADER_BLOCK_H_ | 260 #endif // NET_SPDY_SPDY_HEADER_BLOCK_H_ |
OLD | NEW |