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

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

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months 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/core/spdy_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
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_CORE_SPDY_UTILS_H_ 5 #ifndef NET_QUIC_CORE_SPDY_UTILS_H_
6 #define NET_QUIC_CORE_SPDY_UTILS_H_ 6 #define NET_QUIC_CORE_SPDY_UTILS_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/quic/core/quic_header_list.h" 13 #include "net/quic/core/quic_header_list.h"
14 #include "net/quic/core/quic_packets.h" 14 #include "net/quic/core/quic_packets.h"
15 #include "net/quic/platform/api/quic_export.h" 15 #include "net/quic/platform/api/quic_export.h"
16 #include "net/spdy/spdy_framer.h" 16 #include "net/spdy/core/spdy_framer.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 class QUIC_EXPORT_PRIVATE SpdyUtils { 20 class QUIC_EXPORT_PRIVATE SpdyUtils {
21 public: 21 public:
22 static std::string SerializeUncompressedHeaders( 22 static std::string SerializeUncompressedHeaders(
23 const SpdyHeaderBlock& headers); 23 const SpdyHeaderBlock& headers);
24 24
25 // Parses |data| as a string containing serialized HTTP/2 HEADERS frame, 25 // Parses |data| as a string containing serialized HTTP/2 HEADERS frame,
26 // populating |headers| with the key->value pairs found. 26 // populating |headers| with the key->value pairs found.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 static bool PopulateHeaderBlockFromUrl(const std::string url, 76 static bool PopulateHeaderBlockFromUrl(const std::string url,
77 SpdyHeaderBlock* headers); 77 SpdyHeaderBlock* headers);
78 78
79 private: 79 private:
80 DISALLOW_COPY_AND_ASSIGN(SpdyUtils); 80 DISALLOW_COPY_AND_ASSIGN(SpdyUtils);
81 }; 81 };
82 82
83 } // namespace net 83 } // namespace net
84 84
85 #endif // NET_QUIC_CORE_SPDY_UTILS_H_ 85 #endif // NET_QUIC_CORE_SPDY_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_write_blocked_list.h ('k') | net/quic/core/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698