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_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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 NetworkChangeNotifier::NetworkHandle network) override; | 344 NetworkChangeNotifier::NetworkHandle network) override; |
345 | 345 |
346 // SSLConfigService::Observer methods: | 346 // SSLConfigService::Observer methods: |
347 | 347 |
348 // We perform the same flushing as described above when SSL settings change. | 348 // We perform the same flushing as described above when SSL settings change. |
349 void OnSSLConfigChanged() override; | 349 void OnSSLConfigChanged() override; |
350 | 350 |
351 // CertDatabase::Observer methods: | 351 // CertDatabase::Observer methods: |
352 | 352 |
353 // We close all sessions when certificate database is changed. | 353 // We close all sessions when certificate database is changed. |
354 void OnCertAdded(const X509Certificate* cert) override; | 354 void OnCertDBChanged(const X509Certificate* cert) override; |
355 void OnCACertChanged(const X509Certificate* cert) override; | |
356 | 355 |
357 bool require_confirmation() const { return require_confirmation_; } | 356 bool require_confirmation() const { return require_confirmation_; } |
358 | 357 |
359 void set_require_confirmation(bool require_confirmation); | 358 void set_require_confirmation(bool require_confirmation); |
360 | 359 |
361 bool ZeroRTTEnabledFor(const QuicServerId& server_id); | 360 bool ZeroRTTEnabledFor(const QuicServerId& server_id); |
362 | 361 |
363 // It returns the amount of time waiting job should be delayed. | 362 // It returns the amount of time waiting job should be delayed. |
364 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id); | 363 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id); |
365 | 364 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 const scoped_refptr<SSLConfigService> ssl_config_service_; | 652 const scoped_refptr<SSLConfigService> ssl_config_service_; |
654 | 653 |
655 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 654 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
656 | 655 |
657 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 656 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
658 }; | 657 }; |
659 | 658 |
660 } // namespace net | 659 } // namespace net |
661 | 660 |
662 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 661 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |