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