| 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 <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 base::Value* QuicStreamFactoryInfoToValue() const; | 141 base::Value* QuicStreamFactoryInfoToValue() const; |
| 142 | 142 |
| 143 // Delete all cached state objects in |crypto_config_|. | 143 // Delete all cached state objects in |crypto_config_|. |
| 144 void ClearCachedStatesInCryptoConfig(); | 144 void ClearCachedStatesInCryptoConfig(); |
| 145 | 145 |
| 146 // NetworkChangeNotifier::IPAddressObserver methods: | 146 // NetworkChangeNotifier::IPAddressObserver methods: |
| 147 | 147 |
| 148 // Until the servers support roaming, close all connections when the local | 148 // Until the servers support roaming, close all connections when the local |
| 149 // IP address changes. | 149 // IP address changes. |
| 150 virtual void OnIPAddressChanged() OVERRIDE; | 150 virtual void OnIPAddressChanged() override; |
| 151 | 151 |
| 152 // CertDatabase::Observer methods: | 152 // CertDatabase::Observer methods: |
| 153 | 153 |
| 154 // We close all sessions when certificate database is changed. | 154 // We close all sessions when certificate database is changed. |
| 155 virtual void OnCertAdded(const X509Certificate* cert) OVERRIDE; | 155 virtual void OnCertAdded(const X509Certificate* cert) override; |
| 156 virtual void OnCACertChanged(const X509Certificate* cert) OVERRIDE; | 156 virtual void OnCACertChanged(const X509Certificate* cert) override; |
| 157 | 157 |
| 158 bool require_confirmation() const { | 158 bool require_confirmation() const { |
| 159 return require_confirmation_; | 159 return require_confirmation_; |
| 160 } | 160 } |
| 161 | 161 |
| 162 void set_require_confirmation(bool require_confirmation); | 162 void set_require_confirmation(bool require_confirmation); |
| 163 | 163 |
| 164 QuicConnectionHelper* helper() { return helper_.get(); } | 164 QuicConnectionHelper* helper() { return helper_.get(); } |
| 165 | 165 |
| 166 bool enable_port_selection() const { return enable_port_selection_; } | 166 bool enable_port_selection() const { return enable_port_selection_; } |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 bool check_persisted_supports_quic_; | 295 bool check_persisted_supports_quic_; |
| 296 | 296 |
| 297 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 297 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
| 298 | 298 |
| 299 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 299 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
| 300 }; | 300 }; |
| 301 | 301 |
| 302 } // namespace net | 302 } // namespace net |
| 303 | 303 |
| 304 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ | 304 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ |
| OLD | NEW |