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

Side by Side Diff: net/spdy/core/spdy_framer_decoder_adapter.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/spdy/core/spdy_framer.cc ('k') | net/spdy/core/spdy_framer_decoder_adapter.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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_ 5 #ifndef NET_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_
6 #define NET_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_ 6 #define NET_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <cstdint> 10 #include <cstdint>
11 #include <memory> 11 #include <memory>
12 12
13 #include "net/spdy/hpack/hpack_header_table.h" 13 #include "net/spdy/core/hpack/hpack_header_table.h"
14 #include "net/spdy/core/spdy_alt_svc_wire_format.h"
15 #include "net/spdy/core/spdy_framer.h"
16 #include "net/spdy/core/spdy_headers_handler_interface.h"
17 #include "net/spdy/core/spdy_protocol.h"
14 #include "net/spdy/platform/api/spdy_string_piece.h" 18 #include "net/spdy/platform/api/spdy_string_piece.h"
15 #include "net/spdy/spdy_alt_svc_wire_format.h"
16 #include "net/spdy/spdy_framer.h"
17 #include "net/spdy/spdy_headers_handler_interface.h"
18 #include "net/spdy/spdy_protocol.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 // Abstract base class for an HTTP/2 decoder to be called from SpdyFramer. 22 // Abstract base class for an HTTP/2 decoder to be called from SpdyFramer.
23 class SpdyFramerDecoderAdapter { 23 class SpdyFramerDecoderAdapter {
24 public: 24 public:
25 SpdyFramerDecoderAdapter(); 25 SpdyFramerDecoderAdapter();
26 virtual ~SpdyFramerDecoderAdapter(); 26 virtual ~SpdyFramerDecoderAdapter();
27 27
28 // Set callbacks to be called from the framer. A visitor must be set, or 28 // Set callbacks to be called from the framer. A visitor must be set, or
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 SpdyFramer* framer() const { return framer_; } 159 SpdyFramer* framer() const { return framer_; }
160 160
161 private: 161 private:
162 SpdyFramerVisitorInterface* const visitor_; 162 SpdyFramerVisitorInterface* const visitor_;
163 SpdyFramer* const framer_; 163 SpdyFramer* const framer_;
164 }; 164 };
165 165
166 } // namespace net 166 } // namespace net
167 167
168 #endif // NET_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_ 168 #endif // NET_SPDY_SPDY_FRAMER_DECODER_ADAPTER_H_
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_framer.cc ('k') | net/spdy/core/spdy_framer_decoder_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698