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

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

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 years, 9 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_spdy_session.cc ('k') | net/quic/core/quic_spdy_stream.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 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 // The base class for streams which deliver data to/from an application. 5 // The base class for streams which deliver data to/from an application.
6 // In each direction, the data on such a stream first contains compressed 6 // In each direction, the data on such a stream first contains compressed
7 // headers then body data. 7 // headers then body data.
8 8
9 #ifndef NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 9 #ifndef NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
11 11
12 #include <sys/types.h> 12 #include <sys/types.h>
13 13
14 #include <cstddef> 14 #include <cstddef>
15 #include <list> 15 #include <list>
16 #include <string> 16 #include <string>
17 17
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/strings/string_piece.h"
20 #include "net/base/iovec.h" 19 #include "net/base/iovec.h"
21 #include "net/quic/core/quic_flags.h" 20 #include "net/quic/core/quic_flags.h"
22 #include "net/quic/core/quic_header_list.h" 21 #include "net/quic/core/quic_header_list.h"
23 #include "net/quic/core/quic_packets.h" 22 #include "net/quic/core/quic_packets.h"
24 #include "net/quic/core/quic_stream.h" 23 #include "net/quic/core/quic_stream.h"
25 #include "net/quic/core/quic_stream_sequencer.h" 24 #include "net/quic/core/quic_stream_sequencer.h"
26 #include "net/quic/platform/api/quic_export.h" 25 #include "net/quic/platform/api/quic_export.h"
27 #include "net/quic/platform/api/quic_socket_address.h" 26 #include "net/quic/platform/api/quic_socket_address.h"
28 #include "net/spdy/spdy_framer.h" 27 #include "net/spdy/spdy_framer.h"
29 28
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 bool trailers_consumed_; 233 bool trailers_consumed_;
235 // The parsed trailers received from the peer. 234 // The parsed trailers received from the peer.
236 SpdyHeaderBlock received_trailers_; 235 SpdyHeaderBlock received_trailers_;
237 236
238 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); 237 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream);
239 }; 238 };
240 239
241 } // namespace net 240 } // namespace net
242 241
243 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 242 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_spdy_session.cc ('k') | net/quic/core/quic_spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698