OLD | NEW |
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_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 5 #ifndef NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 6 #define NET_QUIC_CHROMIUM_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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 401 |
402 bool migrate_sessions_on_network_change() const { | 402 bool migrate_sessions_on_network_change() const { |
403 return migrate_sessions_on_network_change_; | 403 return migrate_sessions_on_network_change_; |
404 } | 404 } |
405 | 405 |
406 // Dumps memory allocation stats. |parent_dump_absolute_name| is the name | 406 // Dumps memory allocation stats. |parent_dump_absolute_name| is the name |
407 // used by the parent MemoryAllocatorDump in the memory dump hierarchy. | 407 // used by the parent MemoryAllocatorDump in the memory dump hierarchy. |
408 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, | 408 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, |
409 const std::string& parent_absolute_name) const; | 409 const std::string& parent_absolute_name) const; |
410 | 410 |
| 411 int num_push_promise_received_; |
| 412 |
411 private: | 413 private: |
412 class Job; | 414 class Job; |
413 class CertVerifierJob; | 415 class CertVerifierJob; |
414 friend class test::QuicStreamFactoryPeer; | 416 friend class test::QuicStreamFactoryPeer; |
415 | 417 |
416 typedef std::map<QuicServerId, QuicChromiumClientSession*> SessionMap; | 418 typedef std::map<QuicServerId, QuicChromiumClientSession*> SessionMap; |
417 typedef std::map<QuicChromiumClientSession*, QuicSessionKey> SessionIdMap; | 419 typedef std::map<QuicChromiumClientSession*, QuicSessionKey> SessionIdMap; |
418 typedef std::set<QuicSessionKey> AliasSet; | 420 typedef std::set<QuicSessionKey> AliasSet; |
419 typedef std::map<QuicChromiumClientSession*, AliasSet> SessionAliasMap; | 421 typedef std::map<QuicChromiumClientSession*, AliasSet> SessionAliasMap; |
420 typedef std::set<QuicChromiumClientSession*> SessionSet; | 422 typedef std::set<QuicChromiumClientSession*> SessionSet; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 const scoped_refptr<SSLConfigService> ssl_config_service_; | 677 const scoped_refptr<SSLConfigService> ssl_config_service_; |
676 | 678 |
677 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 679 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
678 | 680 |
679 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 681 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
680 }; | 682 }; |
681 | 683 |
682 } // namespace net | 684 } // namespace net |
683 | 685 |
684 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 686 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |