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

Unified Diff: net/ssl/client_cert_store.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ssl/channel_id_store.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_cert_store.h
diff --git a/net/ssl/client_cert_store.h b/net/ssl/client_cert_store.h
deleted file mode 100644
index b1172deb7d9974f255b4e9306f65e382c4a279b8..0000000000000000000000000000000000000000
--- a/net/ssl/client_cert_store.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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_H_
-#define NET_SSL_CLIENT_CERT_STORE_H_
-
-#include "base/basictypes.h"
-#include "base/callback_forward.h"
-#include "net/base/net_export.h"
-#include "net/cert/x509_certificate.h"
-
-namespace net {
-
-class SSLCertRequestInfo;
-
-// A handle to a client certificate store to query matching certificates when a
-// server requests client auth. Note that there may be multiple ClientCertStore
-// objects corresponding to the same platform certificate store; each request
-// gets its own uniquely owned handle.
-class NET_EXPORT ClientCertStore {
- public:
- virtual ~ClientCertStore() {}
-
- // Get client certs matching the |cert_request_info|. On completion, the
- // results will be stored in |selected_certs| and the |callback| will be run.
- // The |callback| may be called sychronously. The caller must ensure the
- // ClientCertStore, |cert_request_info|, and |selected_certs| remain alive
- // until the callback has been run.
- virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
- CertificateList* selected_certs,
- const base::Closure& callback) = 0;
- protected:
- ClientCertStore() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ClientCertStore);
-};
-
-} // namespace net
-
-#endif // NET_SSL_CLIENT_CERT_STORE_H_
« no previous file with comments | « net/ssl/channel_id_store.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698