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

Side by Side Diff: net/quic/quic_data_stream.h

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing part device_cloud_policy_manager_chromeos_unittest.cc Created 6 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/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_data_stream_test.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_QUIC_DATA_STREAM_H_ 9 #ifndef NET_QUIC_QUIC_DATA_STREAM_H_
10 #define NET_QUIC_QUIC_DATA_STREAM_H_ 10 #define NET_QUIC_QUIC_DATA_STREAM_H_
11 11
12 #include <sys/types.h> 12 #include <sys/types.h>
13 13
14 #include <list> 14 #include <list>
15 #include <string>
15 16
16 #include "base/basictypes.h" 17 #include "base/basictypes.h"
17 #include "base/strings/string_piece.h" 18 #include "base/strings/string_piece.h"
18 #include "net/base/iovec.h" 19 #include "net/base/iovec.h"
19 #include "net/base/net_export.h" 20 #include "net/base/net_export.h"
20 #include "net/quic/quic_ack_notifier.h" 21 #include "net/quic/quic_ack_notifier.h"
21 #include "net/quic/quic_protocol.h" 22 #include "net/quic/quic_protocol.h"
22 #include "net/quic/quic_stream_sequencer.h" 23 #include "net/quic/quic_stream_sequencer.h"
23 #include "net/quic/reliable_quic_stream.h" 24 #include "net/quic/reliable_quic_stream.h"
24 #include "net/spdy/spdy_framer.h" 25 #include "net/spdy/spdy_framer.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 127
127 bool FinishedReadingHeaders(); 128 bool FinishedReadingHeaders();
128 129
129 Visitor* visitor_; 130 Visitor* visitor_;
130 // True if the headers have been completely decompresssed. 131 // True if the headers have been completely decompresssed.
131 bool headers_decompressed_; 132 bool headers_decompressed_;
132 // The priority of the stream, once parsed. 133 // The priority of the stream, once parsed.
133 QuicPriority priority_; 134 QuicPriority priority_;
134 // Contains a copy of the decompressed headers until they are consumed 135 // Contains a copy of the decompressed headers until they are consumed
135 // via ProcessData or Readv. 136 // via ProcessData or Readv.
136 string decompressed_headers_; 137 std::string decompressed_headers_;
137 // True if an error was encountered during decompression. 138 // True if an error was encountered during decompression.
138 bool decompression_failed_; 139 bool decompression_failed_;
139 // True if the priority has been read, false otherwise. 140 // True if the priority has been read, false otherwise.
140 bool priority_parsed_; 141 bool priority_parsed_;
141 142
142 DISALLOW_COPY_AND_ASSIGN(QuicDataStream); 143 DISALLOW_COPY_AND_ASSIGN(QuicDataStream);
143 }; 144 };
144 145
145 } // namespace net 146 } // namespace net
146 147
147 #endif // NET_QUIC_QUIC_DATA_STREAM_H_ 148 #endif // NET_QUIC_QUIC_DATA_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_data_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698