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

Unified Diff: chrome/browser/ui/views/certificate_selector.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: rebase on https://codereview.chromium.org/2899083006/ Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/crypto_module_delegate_nss.cc ('k') | chrome/browser/ui/views/certificate_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/certificate_selector.h
diff --git a/chrome/browser/ui/views/certificate_selector.h b/chrome/browser/ui/views/certificate_selector.h
index 5eb701a2287e5370db51f3151a33619944f490f3..91a202ae477dfb490a69baa872c796ebb08d0c55 100644
--- a/chrome/browser/ui/views/certificate_selector.h
+++ b/chrome/browser/ui/views/certificate_selector.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "base/strings/string16.h"
-#include "net/cert/x509_certificate.h"
+#include "net/ssl/client_cert_identity.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/table/table_view_observer.h"
#include "ui/views/window/dialog_delegate.h"
@@ -45,13 +45,13 @@ class CertificateSelector : public views::DialogDelegateView,
static bool CanShow(content::WebContents* web_contents);
// |web_contents| must not be null.
- CertificateSelector(const net::CertificateList& certificates,
+ CertificateSelector(net::ClientCertIdentityList certificates,
content::WebContents* web_contents);
~CertificateSelector() override;
// Returns the currently selected certificate or null if none is selected.
// Must be called after |InitWithText()|.
- net::X509Certificate* GetSelectedCert() const;
+ net::ClientCertIdentity* GetSelectedCert() const;
// Shows this dialog as a constrained web modal dialog and focuses the first
// certificate.
@@ -88,7 +88,7 @@ class CertificateSelector : public views::DialogDelegateView,
private:
class CertificateTableModel;
- net::CertificateList certificates_;
+ net::ClientCertIdentityList certificates_;
// Whether to show the provider column in the table or not. Certificates
// provided by the platform show the empty string as provider. That column is
« no previous file with comments | « chrome/browser/ui/crypto_module_delegate_nss.cc ('k') | chrome/browser/ui/views/certificate_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698