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

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

Issue 1134603005: Remove WriteBlockedList::use_stream_to_priority. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | net/quic/quic_write_blocked_list.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_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_flow_controller.h" 10 #include "net/quic/quic_flow_controller.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 private: 96 private:
97 QuicSession* session_; 97 QuicSession* session_;
98 }; 98 };
99 99
100 QuicSession::QuicSession(QuicConnection* connection, const QuicConfig& config) 100 QuicSession::QuicSession(QuicConnection* connection, const QuicConfig& config)
101 : connection_(connection), 101 : connection_(connection),
102 visitor_shim_(new VisitorShim(this)), 102 visitor_shim_(new VisitorShim(this)),
103 config_(config), 103 config_(config),
104 max_open_streams_(config_.MaxStreamsPerConnection()), 104 max_open_streams_(config_.MaxStreamsPerConnection()),
105 next_stream_id_(perspective() == Perspective::IS_SERVER ? 2 : 5), 105 next_stream_id_(perspective() == Perspective::IS_SERVER ? 2 : 5),
106 write_blocked_streams_(true),
107 largest_peer_created_stream_id_(0), 106 largest_peer_created_stream_id_(0),
108 error_(QUIC_NO_ERROR), 107 error_(QUIC_NO_ERROR),
109 flow_controller_(connection_.get(), 108 flow_controller_(connection_.get(),
110 0, 109 0,
111 perspective(), 110 perspective(),
112 kMinimumFlowControlSendWindow, 111 kMinimumFlowControlSendWindow,
113 config_.GetInitialSessionFlowControlWindowToSend(), 112 config_.GetInitialSessionFlowControlWindowToSend(),
114 config_.GetInitialSessionFlowControlWindowToSend()), 113 config_.GetInitialSessionFlowControlWindowToSend()),
115 goaway_received_(false), 114 goaway_received_(false),
116 goaway_sent_(false), 115 goaway_sent_(false),
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 for (DataStreamMap::iterator it = stream_map_.begin(); 736 for (DataStreamMap::iterator it = stream_map_.begin();
738 it != stream_map_.end(); ++it) { 737 it != stream_map_.end(); ++it) {
739 if (it->second->flow_controller()->IsBlocked()) { 738 if (it->second->flow_controller()->IsBlocked()) {
740 return true; 739 return true;
741 } 740 }
742 } 741 }
743 return false; 742 return false;
744 } 743 }
745 744
746 } // namespace net 745 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_write_blocked_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698