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

Side by Side Diff: net/quic/quic_stream_factory.h

Issue 1238613004: [Merge to M45] Fix order of arguments in QuicStreamFactory constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2454
Patch Set: Created 5 years, 5 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_network_transaction_unittest.cc ('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 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 QuicServerInfoFactory* quic_server_info_factory) { 216 QuicServerInfoFactory* quic_server_info_factory) {
217 DCHECK(!quic_server_info_factory_); 217 DCHECK(!quic_server_info_factory_);
218 quic_server_info_factory_ = quic_server_info_factory; 218 quic_server_info_factory_ = quic_server_info_factory;
219 } 219 }
220 220
221 bool enable_connection_racing() const { return enable_connection_racing_; } 221 bool enable_connection_racing() const { return enable_connection_racing_; }
222 void set_enable_connection_racing(bool enable_connection_racing) { 222 void set_enable_connection_racing(bool enable_connection_racing) {
223 enable_connection_racing_ = enable_connection_racing; 223 enable_connection_racing_ = enable_connection_racing;
224 } 224 }
225 225
226 int socket_receive_buffer_size() const { return socket_receive_buffer_size_; }
227
226 private: 228 private:
227 class Job; 229 class Job;
228 friend class test::QuicStreamFactoryPeer; 230 friend class test::QuicStreamFactoryPeer;
229 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryTest, QuicLossyProxyMarkedAsBad); 231 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryTest, QuicLossyProxyMarkedAsBad);
230 232
231 // The key used to find session by ip. Includes 233 // The key used to find session by ip. Includes
232 // the ip address, port, and scheme. 234 // the ip address, port, and scheme.
233 struct NET_EXPORT_PRIVATE IpAliasKey { 235 struct NET_EXPORT_PRIVATE IpAliasKey {
234 IpAliasKey(); 236 IpAliasKey();
235 IpAliasKey(IPEndPoint ip_endpoint, bool is_https); 237 IpAliasKey(IPEndPoint ip_endpoint, bool is_https);
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 base::TaskRunner* task_runner_; 423 base::TaskRunner* task_runner_;
422 424
423 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 425 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
424 426
425 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 427 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
426 }; 428 };
427 429
428 } // namespace net 430 } // namespace net
429 431
430 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 432 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698