| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 NetworkChangeNotifier::NetworkHandle network) override; | 353 NetworkChangeNotifier::NetworkHandle network) override; |
| 354 | 354 |
| 355 // SSLConfigService::Observer methods: | 355 // SSLConfigService::Observer methods: |
| 356 | 356 |
| 357 // We perform the same flushing as described above when SSL settings change. | 357 // We perform the same flushing as described above when SSL settings change. |
| 358 void OnSSLConfigChanged() override; | 358 void OnSSLConfigChanged() override; |
| 359 | 359 |
| 360 // CertDatabase::Observer methods: | 360 // CertDatabase::Observer methods: |
| 361 | 361 |
| 362 // We close all sessions when certificate database is changed. | 362 // We close all sessions when certificate database is changed. |
| 363 void OnCertDBChanged(const X509Certificate* cert) override; | 363 void OnCertDBChanged() override; |
| 364 | 364 |
| 365 bool require_confirmation() const { return require_confirmation_; } | 365 bool require_confirmation() const { return require_confirmation_; } |
| 366 | 366 |
| 367 void set_require_confirmation(bool require_confirmation); | 367 void set_require_confirmation(bool require_confirmation); |
| 368 | 368 |
| 369 bool ZeroRTTEnabledFor(const QuicServerId& server_id); | 369 bool ZeroRTTEnabledFor(const QuicServerId& server_id); |
| 370 | 370 |
| 371 // It returns the amount of time waiting job should be delayed. | 371 // It returns the amount of time waiting job should be delayed. |
| 372 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id); | 372 base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id); |
| 373 | 373 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 const scoped_refptr<SSLConfigService> ssl_config_service_; | 674 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 675 | 675 |
| 676 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 676 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 677 | 677 |
| 678 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 678 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 679 }; | 679 }; |
| 680 | 680 |
| 681 } // namespace net | 681 } // namespace net |
| 682 | 682 |
| 683 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 683 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |