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

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

Issue 162493003: Remove OnConfigNegotiated from QuicConnectionVisiterInterface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_session.h ('k') | no next file » | 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_headers_stream.h" 10 #include "net/quic/quic_headers_stream.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 bool rc = session_->OnCanWrite(); 53 bool rc = session_->OnCanWrite();
54 session_->PostProcessAfterData(); 54 session_->PostProcessAfterData();
55 return rc; 55 return rc;
56 } 56 }
57 57
58 virtual void OnSuccessfulVersionNegotiation( 58 virtual void OnSuccessfulVersionNegotiation(
59 const QuicVersion& version) OVERRIDE { 59 const QuicVersion& version) OVERRIDE {
60 session_->OnSuccessfulVersionNegotiation(version); 60 session_->OnSuccessfulVersionNegotiation(version);
61 } 61 }
62 62
63 virtual void OnConfigNegotiated() OVERRIDE {
64 session_->OnConfigNegotiated();
65 }
66
67 virtual void OnConnectionClosed( 63 virtual void OnConnectionClosed(
68 QuicErrorCode error, bool from_peer) OVERRIDE { 64 QuicErrorCode error, bool from_peer) OVERRIDE {
69 session_->OnConnectionClosed(error, from_peer); 65 session_->OnConnectionClosed(error, from_peer);
70 // The session will go away, so don't bother with cleanup. 66 // The session will go away, so don't bother with cleanup.
71 } 67 }
72 68
73 virtual void OnWriteBlocked() OVERRIDE { 69 virtual void OnWriteBlocked() OVERRIDE {
74 session_->OnWriteBlocked(); 70 session_->OnWriteBlocked();
75 } 71 }
76 72
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 NOTIMPLEMENTED(); 630 NOTIMPLEMENTED();
635 return false; 631 return false;
636 } 632 }
637 633
638 void QuicSession::PostProcessAfterData() { 634 void QuicSession::PostProcessAfterData() {
639 STLDeleteElements(&closed_streams_); 635 STLDeleteElements(&closed_streams_);
640 closed_streams_.clear(); 636 closed_streams_.clear();
641 } 637 }
642 638
643 } // namespace net 639 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698