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

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

Issue 497553004: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with TOT Created 6 years, 4 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_session.h ('k') | net/quic/quic_stream_factory_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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 OVERRIDE { 57 OVERRIDE {
58 session_->OnBlockedFrames(frames); 58 session_->OnBlockedFrames(frames);
59 session_->PostProcessAfterData(); 59 session_->PostProcessAfterData();
60 } 60 }
61 61
62 virtual void OnCanWrite() OVERRIDE { 62 virtual void OnCanWrite() OVERRIDE {
63 session_->OnCanWrite(); 63 session_->OnCanWrite();
64 session_->PostProcessAfterData(); 64 session_->PostProcessAfterData();
65 } 65 }
66 66
67 virtual void OnCongestionWindowChange(QuicTime now) OVERRIDE {
68 session_->OnCongestionWindowChange(now);
69 }
70
67 virtual void OnSuccessfulVersionNegotiation( 71 virtual void OnSuccessfulVersionNegotiation(
68 const QuicVersion& version) OVERRIDE { 72 const QuicVersion& version) OVERRIDE {
69 session_->OnSuccessfulVersionNegotiation(version); 73 session_->OnSuccessfulVersionNegotiation(version);
70 } 74 }
71 75
72 virtual void OnConnectionClosed( 76 virtual void OnConnectionClosed(
73 QuicErrorCode error, bool from_peer) OVERRIDE { 77 QuicErrorCode error, bool from_peer) OVERRIDE {
74 session_->OnConnectionClosed(error, from_peer); 78 session_->OnConnectionClosed(error, from_peer);
75 // The session will go away, so don't bother with cleanup. 79 // The session will go away, so don't bother with cleanup.
76 } 80 }
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 } 765 }
762 for (DataStreamMap::iterator it = stream_map_.begin(); 766 for (DataStreamMap::iterator it = stream_map_.begin();
763 it != stream_map_.end(); ++it) { 767 it != stream_map_.end(); ++it) {
764 if (version <= QUIC_VERSION_16) { 768 if (version <= QUIC_VERSION_16) {
765 it->second->flow_controller()->Disable(); 769 it->second->flow_controller()->Disable();
766 } 770 }
767 } 771 }
768 } 772 }
769 773
770 } // namespace net 774 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698