| Index: net/ssl/client_cert_store_chromeos.h
|
| diff --git a/net/ssl/client_cert_store_chromeos.h b/net/ssl/client_cert_store_chromeos.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b6d632a1277e59bd3b17a80374140a859c416ff
|
| --- /dev/null
|
| +++ b/net/ssl/client_cert_store_chromeos.h
|
| @@ -0,0 +1,45 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
|
| +#define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "crypto/scoped_nss_types.h"
|
| +#include "net/cert/nss_profile_filter_chromeos.h"
|
| +#include "net/ssl/client_cert_store_impl.h"
|
| +
|
| +namespace net {
|
| +
|
| +class NET_EXPORT ClientCertStoreChromeOS : public ClientCertStoreImpl {
|
| + public:
|
| + explicit ClientCertStoreChromeOS(const std::string& username_hash);
|
| + virtual ~ClientCertStoreChromeOS();
|
| +
|
| + // ClientCertStoreImpl:
|
| + virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
|
| + CertificateList* selected_certs,
|
| + const base::Closure& callback) OVERRIDE;
|
| +
|
| + private:
|
| + void DidGetPrivateSlot(crypto::ScopedPK11Slot private_slot);
|
| + void GotClientCerts();
|
| +
|
| + std::string username_hash_;
|
| +
|
| + const SSLCertRequestInfo* cert_request_info_;
|
| +
|
| + CertificateList* selected_certs_;
|
| +
|
| + NSSProfileFilterChromeOS profile_filter_;
|
| +
|
| + base::Closure callback_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS);
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_
|
|
|