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

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

Issue 2814633003: Extract Proxy Resolution out of HttpStreamFactoryImpl::Job (Closed)
Patch Set: fix remaining tests Created 3 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
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 QuicStreamFactory* factory) { 169 QuicStreamFactory* factory) {
170 return factory->num_push_streams_created_; 170 return factory->num_push_streams_created_;
171 } 171 }
172 172
173 void QuicStreamFactoryPeer::SetAlarmFactory( 173 void QuicStreamFactoryPeer::SetAlarmFactory(
174 QuicStreamFactory* factory, 174 QuicStreamFactory* factory,
175 std::unique_ptr<QuicAlarmFactory> alarm_factory) { 175 std::unique_ptr<QuicAlarmFactory> alarm_factory) {
176 factory->alarm_factory_ = std::move(alarm_factory); 176 factory->alarm_factory_ = std::move(alarm_factory);
177 } 177 }
178 178
179 void QuicStreamFactoryPeer::SetStreamRequestFactory(
180 QuicStreamFactory* factory,
181 std::unique_ptr<QuicStreamRequestFactory> stream_request_factory) {
182 factory->stream_request_factory_ = std::move(stream_request_factory);
183 }
184
179 } // namespace test 185 } // namespace test
186
180 } // namespace net 187 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698