Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: net/quic/chromium/quic_stream_factory.h

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « net/cert/nss_cert_database_chromeos_unittest.cc ('k') | net/quic/chromium/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698