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

Side by Side Diff: net/ssl/client_cert_store_chromeos.h

Issue 867793002: Update {virtual,override,final} to follow C++11 style in net, round 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ 5 #ifndef NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
6 #define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ 6 #define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 // This is only called once initialization is finished, see Init(). 31 // This is only called once initialization is finished, see Init().
32 virtual bool IsCertAllowed( 32 virtual bool IsCertAllowed(
33 const scoped_refptr<X509Certificate>& cert) const = 0; 33 const scoped_refptr<X509Certificate>& cert) const = 0;
34 }; 34 };
35 35
36 // This ClientCertStore will return only client certs that pass the filter 36 // This ClientCertStore will return only client certs that pass the filter
37 // |cert_filter|. 37 // |cert_filter|.
38 ClientCertStoreChromeOS( 38 ClientCertStoreChromeOS(
39 scoped_ptr<CertFilter> cert_filter, 39 scoped_ptr<CertFilter> cert_filter,
40 const PasswordDelegateFactory& password_delegate_factory); 40 const PasswordDelegateFactory& password_delegate_factory);
41 virtual ~ClientCertStoreChromeOS(); 41 ~ClientCertStoreChromeOS() override;
42 42
43 // ClientCertStoreNSS: 43 // ClientCertStoreNSS:
44 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info, 44 void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
45 CertificateList* selected_certs, 45 CertificateList* selected_certs,
46 const base::Closure& callback) override; 46 const base::Closure& callback) override;
47 47
48 protected: 48 protected:
49 // ClientCertStoreNSS: 49 // ClientCertStoreNSS:
50 virtual void GetClientCertsImpl(CERTCertList* cert_list, 50 void GetClientCertsImpl(CERTCertList* cert_list,
51 const SSLCertRequestInfo& request, 51 const SSLCertRequestInfo& request,
52 bool query_nssdb, 52 bool query_nssdb,
53 CertificateList* selected_certs) override; 53 CertificateList* selected_certs) override;
54 54
55 private: 55 private:
56 void CertFilterInitialized(const SSLCertRequestInfo* request, 56 void CertFilterInitialized(const SSLCertRequestInfo* request,
57 CertificateList* selected_certs, 57 CertificateList* selected_certs,
58 const base::Closure& callback); 58 const base::Closure& callback);
59 59
60 scoped_ptr<CertFilter> cert_filter_; 60 scoped_ptr<CertFilter> cert_filter_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS); 62 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS);
63 }; 63 };
64 64
65 } // namespace net 65 } // namespace net
66 66
67 #endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ 67 #endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698