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

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

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More 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_header_list.h ('k') | net/quic/core/quic_iovector.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_QUIC_HEADERS_STREAM_H_ 5 #ifndef NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_
6 #define NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ 6 #define NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/base/net_export.h"
14 #include "net/quic/core/quic_header_list.h" 13 #include "net/quic/core/quic_header_list.h"
15 #include "net/quic/core/quic_packets.h" 14 #include "net/quic/core/quic_packets.h"
16 #include "net/quic/core/quic_stream.h" 15 #include "net/quic/core/quic_stream.h"
16 #include "net/quic/platform/api/quic_export.h"
17 #include "net/spdy/spdy_framer.h" 17 #include "net/spdy/spdy_framer.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 class QuicSpdySession; 21 class QuicSpdySession;
22 22
23 namespace test { 23 namespace test {
24 class QuicHeadersStreamPeer; 24 class QuicHeadersStreamPeer;
25 } // namespace test 25 } // namespace test
26 26
27 // Headers in QUIC are sent as HTTP/2 HEADERS or PUSH_PROMISE frames 27 // Headers in QUIC are sent as HTTP/2 HEADERS or PUSH_PROMISE frames
28 // over a reserved reliable stream with the id 3. Each endpoint 28 // over a reserved reliable stream with the id 3. Each endpoint
29 // (client and server) will allocate an instance of QuicHeadersStream 29 // (client and server) will allocate an instance of QuicHeadersStream
30 // to send and receive headers. 30 // to send and receive headers.
31 class NET_EXPORT_PRIVATE QuicHeadersStream : public QuicStream { 31 class QUIC_EXPORT_PRIVATE QuicHeadersStream : public QuicStream {
32 public: 32 public:
33 class NET_EXPORT_PRIVATE HpackDebugVisitor { 33 class QUIC_EXPORT_PRIVATE HpackDebugVisitor {
34 public: 34 public:
35 HpackDebugVisitor(); 35 HpackDebugVisitor();
36 36
37 virtual ~HpackDebugVisitor(); 37 virtual ~HpackDebugVisitor();
38 38
39 // For each HPACK indexed representation processed, |elapsed| is 39 // For each HPACK indexed representation processed, |elapsed| is
40 // the time since the corresponding entry was added to the dynamic 40 // the time since the corresponding entry was added to the dynamic
41 // table. 41 // table.
42 virtual void OnUseEntry(QuicTime::Delta elapsed) = 0; 42 virtual void OnUseEntry(QuicTime::Delta elapsed) = 0;
43 43
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 SpdyFramer spdy_framer_; 171 SpdyFramer spdy_framer_;
172 std::unique_ptr<SpdyFramerVisitor> spdy_framer_visitor_; 172 std::unique_ptr<SpdyFramerVisitor> spdy_framer_visitor_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); 174 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream);
175 }; 175 };
176 176
177 } // namespace net 177 } // namespace net
178 178
179 #endif // NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ 179 #endif // NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_header_list.h ('k') | net/quic/core/quic_iovector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698