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

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

Issue 693253002: Merge changes to keep chromium source tree same as internal source tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@send_new_SCUP_if_enough_packets_78841268
Patch Set: Created 6 years, 1 month 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/crypto/common_cert_set.cc ('k') | net/tools/quic/end_to_end_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 (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_session.h" 5 #include "net/quic/quic_session.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/crypto/proof_verifier.h" 8 #include "net/quic/crypto/proof_verifier.h"
9 #include "net/quic/quic_connection.h" 9 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_flags.h" 10 #include "net/quic/quic_flags.h"
(...skipping 30 matching lines...) Expand all
41 void OnRstStream(const QuicRstStreamFrame& frame) override { 41 void OnRstStream(const QuicRstStreamFrame& frame) override {
42 session_->OnRstStream(frame); 42 session_->OnRstStream(frame);
43 session_->PostProcessAfterData(); 43 session_->PostProcessAfterData();
44 } 44 }
45 45
46 void OnGoAway(const QuicGoAwayFrame& frame) override { 46 void OnGoAway(const QuicGoAwayFrame& frame) override {
47 session_->OnGoAway(frame); 47 session_->OnGoAway(frame);
48 session_->PostProcessAfterData(); 48 session_->PostProcessAfterData();
49 } 49 }
50 50
51 void OnWindowUpdateFrames( 51 void OnWindowUpdateFrames(const vector<QuicWindowUpdateFrame>& frames)
52 const vector<QuicWindowUpdateFrame>& frames) override { 52 override {
53 session_->OnWindowUpdateFrames(frames); 53 session_->OnWindowUpdateFrames(frames);
54 session_->PostProcessAfterData(); 54 session_->PostProcessAfterData();
55 } 55 }
56 56
57 void OnBlockedFrames(const vector<QuicBlockedFrame>& frames) override { 57 void OnBlockedFrames(const vector<QuicBlockedFrame>& frames) override {
58 session_->OnBlockedFrames(frames); 58 session_->OnBlockedFrames(frames);
59 session_->PostProcessAfterData(); 59 session_->PostProcessAfterData();
60 } 60 }
61 61
62 void OnCanWrite() override { 62 void OnCanWrite() override {
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 for (DataStreamMap::iterator it = stream_map_.begin(); 784 for (DataStreamMap::iterator it = stream_map_.begin();
785 it != stream_map_.end(); ++it) { 785 it != stream_map_.end(); ++it) {
786 if (it->second->flow_controller()->IsBlocked()) { 786 if (it->second->flow_controller()->IsBlocked()) {
787 return true; 787 return true;
788 } 788 }
789 } 789 }
790 return false; 790 return false;
791 } 791 }
792 792
793 } // namespace net 793 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/common_cert_set.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698