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

Side by Side Diff: net/quic/core/spdy_utils.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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/quic/core/quic_write_blocked_list.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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_QUIC_SPDY_UTILS_H_ 5 #ifndef NET_QUIC_SPDY_UTILS_H_
6 #define NET_QUIC_SPDY_UTILS_H_ 6 #define NET_QUIC_SPDY_UTILS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/quic/core/quic_header_list.h" 16 #include "net/quic/core/quic_header_list.h"
17 #include "net/quic/core/quic_protocol.h" 17 #include "net/quic/core/quic_packets.h"
18 #include "net/spdy/spdy_framer.h" 18 #include "net/spdy/spdy_framer.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class NET_EXPORT_PRIVATE SpdyUtils { 22 class NET_EXPORT_PRIVATE SpdyUtils {
23 public: 23 public:
24 static std::string SerializeUncompressedHeaders( 24 static std::string SerializeUncompressedHeaders(
25 const SpdyHeaderBlock& headers); 25 const SpdyHeaderBlock& headers);
26 26
27 // Parses |data| as a std::string containing serialized HTTP/2 HEADERS frame, 27 // Parses |data| as a std::string containing serialized HTTP/2 HEADERS frame,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 static bool PopulateHeaderBlockFromUrl(const std::string url, 78 static bool PopulateHeaderBlockFromUrl(const std::string url,
79 SpdyHeaderBlock* headers); 79 SpdyHeaderBlock* headers);
80 80
81 private: 81 private:
82 DISALLOW_COPY_AND_ASSIGN(SpdyUtils); 82 DISALLOW_COPY_AND_ASSIGN(SpdyUtils);
83 }; 83 };
84 84
85 } // namespace net 85 } // namespace net
86 86
87 #endif // NET_QUIC_SPDY_UTILS_H_ 87 #endif // NET_QUIC_SPDY_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_write_blocked_list.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698