Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: net/tools/quic/spdy_balsa_utils.h

Issue 2477703002: Remove now unused Balsa code. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.cc ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_TOOLS_QUIC_SPDY_BALSA_UTILS_H_
6 #define NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "net/quic/core/quic_protocol.h"
12 #include "net/spdy/spdy_framer.h"
13 #include "net/spdy/spdy_header_block.h"
14 #include "net/spdy/spdy_protocol.h"
15 #include "net/tools/balsa/balsa_headers.h"
16
17 namespace net {
18
19 class SpdyBalsaUtils {
20 public:
21 static std::string SerializeResponseHeaders(
22 const BalsaHeaders& response_headers);
23
24 static SpdyHeaderBlock RequestHeadersToSpdyHeaders(
25 const BalsaHeaders& request_headers);
26
27 static SpdyHeaderBlock ResponseHeadersToSpdyHeaders(
28 const BalsaHeaders& response_headers);
29
30 static void SpdyHeadersToResponseHeaders(const SpdyHeaderBlock& block,
31 BalsaHeaders* headers);
32
33 static void SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block,
34 BalsaHeaders* headers);
35
36 private:
37 DISALLOW_COPY_AND_ASSIGN(SpdyBalsaUtils);
38 };
39
40 } // namespace net
41
42 #endif // NET_TOOLS_QUIC_SPDY_BALSA_UTILS_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.cc ('k') | net/tools/quic/spdy_balsa_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698