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

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

Issue 11364068: Add a QuicHttpStream class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <ostream> 9 #include <ostream>
10 #include <utility> 10 #include <utility>
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 const QuicAckFrame& s); 254 const QuicAckFrame& s);
255 255
256 SentPacketInfo sent_info; 256 SentPacketInfo sent_info;
257 ReceivedPacketInfo received_info; 257 ReceivedPacketInfo received_info;
258 CongestionInfo congestion_info; 258 CongestionInfo congestion_info;
259 }; 259 };
260 260
261 struct NET_EXPORT_PRIVATE QuicRstStreamFrame { 261 struct NET_EXPORT_PRIVATE QuicRstStreamFrame {
262 QuicRstStreamFrame() {} 262 QuicRstStreamFrame() {}
263 QuicRstStreamFrame(QuicStreamId stream_id, uint64 offset, 263 QuicRstStreamFrame(QuicStreamId stream_id, uint64 offset,
264 QuicErrorCode error_code) 264 QuicErrorCode error_code)
265 : stream_id(stream_id), offset(offset), error_code(error_code) { 265 : stream_id(stream_id), offset(offset), error_code(error_code) {
266 DCHECK_LE(error_code, std::numeric_limits<uint8>::max()); 266 DCHECK_LE(error_code, std::numeric_limits<uint8>::max());
267 } 267 }
268 268
269 QuicStreamId stream_id; 269 QuicStreamId stream_id;
270 uint64 offset; 270 uint64 offset;
271 QuicErrorCode error_code; 271 QuicErrorCode error_code;
272 std::string error_details; 272 std::string error_details;
273 }; 273 };
274 274
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return base::StringPiece(data() + kStartOfHashData, kStartOfEncryptedData); 398 return base::StringPiece(data() + kStartOfHashData, kStartOfEncryptedData);
399 } 399 }
400 400
401 private: 401 private:
402 DISALLOW_COPY_AND_ASSIGN(QuicEncryptedPacket); 402 DISALLOW_COPY_AND_ASSIGN(QuicEncryptedPacket);
403 }; 403 };
404 404
405 } // namespace net 405 } // namespace net
406 406
407 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 407 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698