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

Side by Side Diff: net/quic/chromium/quic_stream_factory_peer.cc

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: jana's comments Created 3 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chromium/quic_stream_factory_peer.h" 5 #include "net/quic/chromium/quic_stream_factory_peer.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "net/cert/x509_certificate.h" 10 #include "net/cert/x509_certificate.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 QuicClientPushPromiseIndex* QuicStreamFactoryPeer::GetPushPromiseIndex( 192 QuicClientPushPromiseIndex* QuicStreamFactoryPeer::GetPushPromiseIndex(
193 QuicStreamFactory* factory) { 193 QuicStreamFactory* factory) {
194 return &factory->push_promise_index_; 194 return &factory->push_promise_index_;
195 } 195 }
196 196
197 int QuicStreamFactoryPeer::GetNumPushStreamsCreated( 197 int QuicStreamFactoryPeer::GetNumPushStreamsCreated(
198 QuicStreamFactory* factory) { 198 QuicStreamFactory* factory) {
199 return factory->num_push_streams_created_; 199 return factory->num_push_streams_created_;
200 } 200 }
201 201
202 void QuicStreamFactoryPeer::SetAlarmFactory(
203 QuicStreamFactory* factory,
204 std::unique_ptr<QuicAlarmFactory> alarm_factory) {
205 factory->alarm_factory_ = std::move(alarm_factory);
206 }
207
202 } // namespace test 208 } // namespace test
203 } // namespace net 209 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_stream_factory_peer.h ('k') | net/quic/chromium/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698