| 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_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ | 5 #ifndef NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ |
| 6 #define NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ | 6 #define NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "net/quic/quic_protocol.h" | 11 #include "net/quic/core/quic_protocol.h" |
| 12 #include "net/spdy/spdy_framer.h" | 12 #include "net/spdy/spdy_framer.h" |
| 13 #include "net/spdy/spdy_header_block.h" | 13 #include "net/spdy/spdy_header_block.h" |
| 14 #include "net/spdy/spdy_protocol.h" | 14 #include "net/spdy/spdy_protocol.h" |
| 15 #include "net/tools/balsa/balsa_headers.h" | 15 #include "net/tools/balsa/balsa_headers.h" |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 class SpdyBalsaUtils { | 19 class SpdyBalsaUtils { |
| 20 public: | 20 public: |
| 21 static std::string SerializeResponseHeaders( | 21 static std::string SerializeResponseHeaders( |
| (...skipping 11 matching lines...) Expand all Loading... |
| 33 static void SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, | 33 static void SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, |
| 34 BalsaHeaders* headers); | 34 BalsaHeaders* headers); |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 DISALLOW_COPY_AND_ASSIGN(SpdyBalsaUtils); | 37 DISALLOW_COPY_AND_ASSIGN(SpdyBalsaUtils); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace net | 40 } // namespace net |
| 41 | 41 |
| 42 #endif // NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ | 42 #endif // NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_ |
| OLD | NEW |