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

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

Issue 18121007: *WIP* Store NSS slots per profile. Move keygen to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more refactoring Created 7 years 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
« no previous file with comments | « net/net.gyp ('k') | net/ssl/client_cert_store_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
6 #define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
7
8 #include <string>
9
10 #include "crypto/scoped_nss_types.h"
11 #include "net/cert/nss_profile_filter_chromeos.h"
12 #include "net/ssl/client_cert_store_impl.h"
13
14 namespace net {
15
16 class NET_EXPORT ClientCertStoreChromeOS : public ClientCertStoreImpl {
17 public:
18 explicit ClientCertStoreChromeOS(const std::string& username_hash);
19 virtual ~ClientCertStoreChromeOS();
20
21 // ClientCertStoreImpl:
22 virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
23 CertificateList* selected_certs,
24 const base::Closure& callback) OVERRIDE;
25
26 private:
27 void DidGetPrivateSlot(crypto::ScopedPK11Slot private_slot);
28 void GotClientCerts();
29
30 std::string username_hash_;
31
32 const SSLCertRequestInfo* cert_request_info_;
33
34 CertificateList* selected_certs_;
35
36 NSSProfileFilterChromeOS profile_filter_;
37
38 base::Closure callback_;
39
40 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS);
41 };
42
43 } // namespace net
44
45 #endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/ssl/client_cert_store_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698