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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 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
« no previous file with comments | « net/ssl/client_cert_store_nss.h ('k') | net/ssl/default_channel_id_store.h » ('j') | 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_WIN_H_ 5 #ifndef NET_SSL_CLIENT_CERT_STORE_WIN_H_
6 #define NET_SSL_CLIENT_CERT_STORE_WIN_H_ 6 #define NET_SSL_CLIENT_CERT_STORE_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/ssl/client_cert_store.h" 12 #include "net/ssl/client_cert_store.h"
13 #include "net/ssl/ssl_cert_request_info.h" 13 #include "net/ssl/ssl_cert_request_info.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class NET_EXPORT ClientCertStoreWin : public ClientCertStore { 17 class NET_EXPORT ClientCertStoreWin : public ClientCertStore {
18 public: 18 public:
19 ClientCertStoreWin(); 19 ClientCertStoreWin();
20 virtual ~ClientCertStoreWin(); 20 virtual ~ClientCertStoreWin();
21 21
22 // ClientCertStore: 22 // ClientCertStore:
23 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info, 23 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
24 CertificateList* selected_certs, 24 CertificateList* selected_certs,
25 const base::Closure& callback) OVERRIDE; 25 const base::Closure& callback) override;
26 26
27 private: 27 private:
28 friend class ClientCertStoreWinTestDelegate; 28 friend class ClientCertStoreWinTestDelegate;
29 29
30 // A hook for testing. Filters |input_certs| using the logic being used to 30 // A hook for testing. Filters |input_certs| using the logic being used to
31 // filter the system store when GetClientCerts() is called. 31 // filter the system store when GetClientCerts() is called.
32 // Implemented by creating a temporary in-memory store and filtering it 32 // Implemented by creating a temporary in-memory store and filtering it
33 // using the common logic. 33 // using the common logic.
34 bool SelectClientCertsForTesting(const CertificateList& input_certs, 34 bool SelectClientCertsForTesting(const CertificateList& input_certs,
35 const SSLCertRequestInfo& cert_request_info, 35 const SSLCertRequestInfo& cert_request_info,
36 CertificateList* selected_certs); 36 CertificateList* selected_certs);
37 37
38 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreWin); 38 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreWin);
39 }; 39 };
40 40
41 } // namespace net 41 } // namespace net
42 42
43 #endif // NET_SSL_CLIENT_CERT_STORE_WIN_H_ 43 #endif // NET_SSL_CLIENT_CERT_STORE_WIN_H_
OLDNEW
« no previous file with comments | « net/ssl/client_cert_store_nss.h ('k') | net/ssl/default_channel_id_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698