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

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

Issue 2417183003: Remove stl_util's deletion functions from remaining quic code. (Closed)
Patch Set: rebase Created 4 years, 2 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/chromium/quic_end_to_end_unittest.cc ('k') | net/quic/chromium/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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 class CertVerifierJob; 393 class CertVerifierJob;
394 friend class test::QuicStreamFactoryPeer; 394 friend class test::QuicStreamFactoryPeer;
395 395
396 typedef std::map<QuicServerId, QuicChromiumClientSession*> SessionMap; 396 typedef std::map<QuicServerId, QuicChromiumClientSession*> SessionMap;
397 typedef std::map<QuicChromiumClientSession*, QuicSessionKey> SessionIdMap; 397 typedef std::map<QuicChromiumClientSession*, QuicSessionKey> SessionIdMap;
398 typedef std::set<QuicSessionKey> AliasSet; 398 typedef std::set<QuicSessionKey> AliasSet;
399 typedef std::map<QuicChromiumClientSession*, AliasSet> SessionAliasMap; 399 typedef std::map<QuicChromiumClientSession*, AliasSet> SessionAliasMap;
400 typedef std::set<QuicChromiumClientSession*> SessionSet; 400 typedef std::set<QuicChromiumClientSession*> SessionSet;
401 typedef std::map<IPEndPoint, SessionSet> IPAliasMap; 401 typedef std::map<IPEndPoint, SessionSet> IPAliasMap;
402 typedef std::map<QuicChromiumClientSession*, IPEndPoint> SessionPeerIPMap; 402 typedef std::map<QuicChromiumClientSession*, IPEndPoint> SessionPeerIPMap;
403 typedef std::set<Job*> JobSet; 403 typedef std::map<Job*, std::unique_ptr<Job>> JobSet;
404 typedef std::map<QuicServerId, JobSet> JobMap; 404 typedef std::map<QuicServerId, JobSet> JobMap;
405 typedef std::map<QuicStreamRequest*, QuicServerId> RequestMap; 405 typedef std::map<QuicStreamRequest*, QuicServerId> RequestMap;
406 typedef std::set<QuicStreamRequest*> RequestSet; 406 typedef std::set<QuicStreamRequest*> RequestSet;
407 typedef std::map<QuicServerId, RequestSet> ServerIDRequestsMap; 407 typedef std::map<QuicServerId, RequestSet> ServerIDRequestsMap;
408 typedef std::map<QuicServerId, std::unique_ptr<CertVerifierJob>> 408 typedef std::map<QuicServerId, std::unique_ptr<CertVerifierJob>>
409 CertVerifierJobMap; 409 CertVerifierJobMap;
410 410
411 enum FactoryStatus { 411 enum FactoryStatus {
412 OPEN, // New streams may be created. 412 OPEN, // New streams may be created.
413 CLOSED, // No new streams may be created temporarily. 413 CLOSED, // No new streams may be created temporarily.
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 const scoped_refptr<SSLConfigService> ssl_config_service_; 652 const scoped_refptr<SSLConfigService> ssl_config_service_;
653 653
654 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 654 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
655 655
656 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 656 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
657 }; 657 };
658 658
659 } // namespace net 659 } // namespace net
660 660
661 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 661 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_end_to_end_unittest.cc ('k') | net/quic/chromium/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698