Move all typecasting code to individual screens.
[chromium-blink-merge.git] / net / quic / spdy_utils.h
blobefb72a0497ac4c502326a443b4d100c31061cc7b
1 // Copyright (c) 2013 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.
5 #ifndef NET_QUIC_SPDY_UTILS_H_
6 #define NET_QUIC_SPDY_UTILS_H_
8 #include <string>
10 #include "net/base/net_export.h"
11 #include "net/spdy/spdy_framer.h"
13 namespace net {
15 const SpdyMajorVersion kDefaultSpdyMajorVersion = SPDY3;
17 class NET_EXPORT_PRIVATE SpdyUtils {
18 public:
19 static std::string SerializeUncompressedHeaders(
20 const SpdyHeaderBlock& headers);
22 private:
23 DISALLOW_COPY_AND_ASSIGN(SpdyUtils);
26 } // namespace net
28 #endif // NET_QUIC_SPDY_UTILS_H_