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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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_SSL_CLIENT_CERT_STORE_H_ 5 #ifndef NET_SSL_CLIENT_CERT_STORE_H_
6 #define NET_SSL_CLIENT_CERT_STORE_H_ 6 #define NET_SSL_CLIENT_CERT_STORE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 10 matching lines...) Expand all
21 virtual ~ClientCertStore() {} 21 virtual ~ClientCertStore() {}
22 22
23 // Get client certs matching the |cert_request_info|. On completion, the 23 // Get client certs matching the |cert_request_info|. On completion, the
24 // results will be stored in |selected_certs| and the |callback| will be run. 24 // results will be stored in |selected_certs| and the |callback| will be run.
25 // The |callback| may be called sychronously. The caller must ensure the 25 // The |callback| may be called sychronously. The caller must ensure the
26 // ClientCertStore and the |selected_certs| object remain alive until the 26 // ClientCertStore and the |selected_certs| object remain alive until the
27 // callback has been run. 27 // callback has been run.
28 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info, 28 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
29 CertificateList* selected_certs, 29 CertificateList* selected_certs,
30 const base::Closure& callback) = 0; 30 const base::Closure& callback) = 0;
31
31 protected: 32 protected:
32 ClientCertStore() {} 33 ClientCertStore() {}
33 34
34 private: 35 private:
35 DISALLOW_COPY_AND_ASSIGN(ClientCertStore); 36 DISALLOW_COPY_AND_ASSIGN(ClientCertStore);
36 }; 37 };
37 38
38 } // namespace net 39 } // namespace net
39 40
40 #endif // NET_SSL_CLIENT_CERT_STORE_H_ 41 #endif // NET_SSL_CLIENT_CERT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698