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

Side by Side Diff: net/quic/quic_packet_generator.cc

Issue 1761263002: Landing recent QUIC changes until 7:19 PM, Feb 26, 2016 UTC-5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ActivateStream() call to QuicChromiumClientSession to fix server push failure Created 4 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/quic_headers_stream_test.cc ('k') | net/quic/quic_session.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 (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 #include "net/quic/quic_packet_generator.h" 5 #include "net/quic/quic_packet_generator.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/quic_bug_tracker.h" 8 #include "net/quic/quic_bug_tracker.h"
9 #include "net/quic/quic_fec_group.h" 9 #include "net/quic/quic_fec_group.h"
10 #include "net/quic/quic_flags.h" 10 #include "net/quic/quic_flags.h"
11 #include "net/quic/quic_utils.h" 11 #include "net/quic/quic_utils.h"
12 12
13 using base::StringPiece; 13 using base::StringPiece;
14 14
15 namespace net { 15 namespace net {
16 16
17 class QuicAckNotifier;
18
19 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id, 17 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id,
20 QuicFramer* framer, 18 QuicFramer* framer,
21 QuicRandom* random_generator, 19 QuicRandom* random_generator,
22 QuicBufferAllocator* buffer_allocator, 20 QuicBufferAllocator* buffer_allocator,
23 DelegateInterface* delegate) 21 DelegateInterface* delegate)
24 : delegate_(delegate), 22 : delegate_(delegate),
25 packet_creator_(connection_id, 23 packet_creator_(connection_id,
26 framer, 24 framer,
27 random_generator, 25 random_generator,
28 buffer_allocator, 26 buffer_allocator,
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 356
359 FecSendPolicy QuicPacketGenerator::fec_send_policy() { 357 FecSendPolicy QuicPacketGenerator::fec_send_policy() {
360 return packet_creator_.fec_send_policy(); 358 return packet_creator_.fec_send_policy();
361 } 359 }
362 360
363 void QuicPacketGenerator::set_fec_send_policy(FecSendPolicy fec_send_policy) { 361 void QuicPacketGenerator::set_fec_send_policy(FecSendPolicy fec_send_policy) {
364 packet_creator_.set_fec_send_policy(fec_send_policy); 362 packet_creator_.set_fec_send_policy(fec_send_policy);
365 } 363 }
366 364
367 } // namespace net 365 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_headers_stream_test.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698