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

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

Issue 1581283002: Rename chromium-specific QUIC classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing Created 4 years, 11 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_reliable_client_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('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 #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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 class CTPolicyEnforcer; 39 class CTPolicyEnforcer;
40 class CertVerifier; 40 class CertVerifier;
41 class ChannelIDService; 41 class ChannelIDService;
42 class ClientSocketFactory; 42 class ClientSocketFactory;
43 class CTVerifier; 43 class CTVerifier;
44 class HostResolver; 44 class HostResolver;
45 class HttpServerProperties; 45 class HttpServerProperties;
46 class QuicClock; 46 class QuicClock;
47 class QuicChromiumClientSession; 47 class QuicChromiumClientSession;
48 class QuicConnectionHelper; 48 class QuicChromiumConnectionHelper;
49 class QuicCryptoClientStreamFactory; 49 class QuicCryptoClientStreamFactory;
50 class QuicRandom; 50 class QuicRandom;
51 class QuicServerId; 51 class QuicServerId;
52 class QuicServerInfo; 52 class QuicServerInfo;
53 class QuicServerInfoFactory; 53 class QuicServerInfoFactory;
54 class QuicStreamFactory; 54 class QuicStreamFactory;
55 class SocketPerformanceWatcherFactory; 55 class SocketPerformanceWatcherFactory;
56 class TransportSecurityState; 56 class TransportSecurityState;
57 57
58 namespace test { 58 namespace test {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 bool require_confirmation() const { return require_confirmation_; } 265 bool require_confirmation() const { return require_confirmation_; }
266 266
267 void set_require_confirmation(bool require_confirmation); 267 void set_require_confirmation(bool require_confirmation);
268 268
269 bool ZeroRTTEnabledFor(const QuicServerId& server_id); 269 bool ZeroRTTEnabledFor(const QuicServerId& server_id);
270 270
271 // It returns the amount of time waiting job should be delayed. 271 // It returns the amount of time waiting job should be delayed.
272 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id); 272 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id);
273 273
274 QuicConnectionHelper* helper() { return helper_.get(); } 274 QuicChromiumConnectionHelper* helper() { return helper_.get(); }
275 275
276 bool enable_port_selection() const { return enable_port_selection_; } 276 bool enable_port_selection() const { return enable_port_selection_; }
277 277
278 bool has_quic_server_info_factory() { 278 bool has_quic_server_info_factory() {
279 return !quic_server_info_factory_.get(); 279 return !quic_server_info_factory_.get();
280 } 280 }
281 281
282 void set_quic_server_info_factory( 282 void set_quic_server_info_factory(
283 QuicServerInfoFactory* quic_server_info_factory); 283 QuicServerInfoFactory* quic_server_info_factory);
284 284
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 QuicRandom* random_generator_; 382 QuicRandom* random_generator_;
383 scoped_ptr<QuicClock> clock_; 383 scoped_ptr<QuicClock> clock_;
384 const size_t max_packet_length_; 384 const size_t max_packet_length_;
385 385
386 // Factory which is used to create socket performance watcher. A new watcher 386 // Factory which is used to create socket performance watcher. A new watcher
387 // is created for every QUIC connection. 387 // is created for every QUIC connection.
388 // |socket_performance_watcher_factory_| may be null. 388 // |socket_performance_watcher_factory_| may be null.
389 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; 389 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_;
390 390
391 // The helper used for all connections. 391 // The helper used for all connections.
392 scoped_ptr<QuicConnectionHelper> helper_; 392 scoped_ptr<QuicChromiumConnectionHelper> helper_;
393 393
394 // Contains owning pointers to all sessions that currently exist. 394 // Contains owning pointers to all sessions that currently exist.
395 SessionIdMap all_sessions_; 395 SessionIdMap all_sessions_;
396 // Contains non-owning pointers to currently active session 396 // Contains non-owning pointers to currently active session
397 // (not going away session, once they're implemented). 397 // (not going away session, once they're implemented).
398 SessionMap active_sessions_; 398 SessionMap active_sessions_;
399 // Map from session to set of aliases that this session is known by. 399 // Map from session to set of aliases that this session is known by.
400 SessionAliasMap session_aliases_; 400 SessionAliasMap session_aliases_;
401 // Map from IP address to sessions which are connected to this address. 401 // Map from IP address to sessions which are connected to this address.
402 IPAliasMap ip_aliases_; 402 IPAliasMap ip_aliases_;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 base::TaskRunner* task_runner_; 511 base::TaskRunner* task_runner_;
512 512
513 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 513 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
514 514
515 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 515 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
516 }; 516 };
517 517
518 } // namespace net 518 } // namespace net
519 519
520 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 520 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/quic_reliable_client_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698