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

Side by Side Diff: net/quic/core/quic_connection.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/crypto/crypto_secret_boxer.cc ('k') | net/quic/core/quic_crypto_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 (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/core/quic_connection.h" 5 #include "net/quic/core/quic_connection.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after
2459 std::min(kMaxDelayedAckTimeMs, kMinRetransmissionTimeMs / 2)); 2459 std::min(kMaxDelayedAckTimeMs, kMinRetransmissionTimeMs / 2));
2460 } 2460 }
2461 2461
2462 void QuicConnection::CheckIfApplicationLimited() { 2462 void QuicConnection::CheckIfApplicationLimited() {
2463 if (queued_packets_.empty() && 2463 if (queued_packets_.empty() &&
2464 !sent_packet_manager_.HasPendingRetransmissions() && 2464 !sent_packet_manager_.HasPendingRetransmissions() &&
2465 !visitor_->WillingAndAbleToWrite()) { 2465 !visitor_->WillingAndAbleToWrite()) {
2466 sent_packet_manager_.OnApplicationLimited(); 2466 sent_packet_manager_.OnApplicationLimited();
2467 } 2467 }
2468 } 2468 }
2469 #undef ENDPOINT
2469 2470
2470 void QuicConnection::SetStreamNotifier( 2471 void QuicConnection::SetStreamNotifier(
2471 StreamNotifierInterface* stream_notifier) { 2472 StreamNotifierInterface* stream_notifier) {
2472 sent_packet_manager_.SetStreamNotifier(stream_notifier); 2473 sent_packet_manager_.SetStreamNotifier(stream_notifier);
2473 } 2474 }
2474 2475
2475 void QuicConnection::SetDataProducer( 2476 void QuicConnection::SetDataProducer(
2476 QuicStreamFrameDataProducer* data_producer) { 2477 QuicStreamFrameDataProducer* data_producer) {
2477 framer_.set_data_producer(data_producer); 2478 framer_.set_data_producer(data_producer);
2478 } 2479 }
2479 2480
2480 } // namespace net 2481 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_secret_boxer.cc ('k') | net/quic/core/quic_crypto_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698