| 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> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <memory> | 11 #include <memory> |
| 10 #include <string> | 12 #include <string> |
| 11 | 13 |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 14 #include "net/base/linked_hash_map.h" | 16 #include "net/base/linked_hash_map.h" |
| 15 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
| 16 #include "net/log/net_log.h" | 18 #include "net/log/net_log.h" |
| 17 | 19 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // to |headers|. |event_param| must have been created by | 135 // to |headers|. |event_param| must have been created by |
| 134 // SpdyHeaderBlockNetLogCallback. On failure, returns false and clears | 136 // SpdyHeaderBlockNetLogCallback. On failure, returns false and clears |
| 135 // |headers|. | 137 // |headers|. |
| 136 NET_EXPORT bool SpdyHeaderBlockFromNetLogParam( | 138 NET_EXPORT bool SpdyHeaderBlockFromNetLogParam( |
| 137 const base::Value* event_param, | 139 const base::Value* event_param, |
| 138 SpdyHeaderBlock* headers); | 140 SpdyHeaderBlock* headers); |
| 139 | 141 |
| 140 } // namespace net | 142 } // namespace net |
| 141 | 143 |
| 142 #endif // NET_SPDY_SPDY_HEADER_BLOCK_H_ | 144 #endif // NET_SPDY_SPDY_HEADER_BLOCK_H_ |
| OLD | NEW |