| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_SPDY_SPDY_HEADER_BLOCK_H_ |
| 6 #define NET_SPDY_SPDY_HEADER_BLOCK_H_ |
| 7 |
| 8 #include <map> |
| 9 #include <string> |
| 10 |
| 11 #include "net/base/net_export.h" |
| 12 #include "net/base/net_log.h" |
| 13 |
| 14 namespace net { |
| 15 |
| 16 // A datastructure for holding a set of headers from either a |
| 17 // SYN_STREAM or SYN_REPLY frame. |
| 18 NET_EXPORT typedef std::map<std::string, std::string> SpdyHeaderBlock; |
| 19 |
| 20 NET_EXPORT base::Value* SpdyHeaderBlockNetLogCallback( |
| 21 const SpdyHeaderBlock* headers, |
| 22 NetLog::LogLevel log_level); |
| 23 |
| 24 NET_EXPORT bool SpdyHeaderBlockFromNetLogParam( |
| 25 const base::Value* event_param, |
| 26 SpdyHeaderBlock* headers); |
| 27 |
| 28 } // namespace net |
| 29 |
| 30 #endif // NET_SPDY_SPDY_HEADER_BLOCK_H_ |
| OLD | NEW |