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

Unified Diff: chrome/browser/ui/views/ssl_client_certificate_selector.cc

Issue 1082123003: Rename USE_NSS to USE_NSS_CERTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs
Patch Set: rebase Created 5 years, 8 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
Index: chrome/browser/ui/views/ssl_client_certificate_selector.cc
diff --git a/chrome/browser/ui/views/ssl_client_certificate_selector.cc b/chrome/browser/ui/views/ssl_client_certificate_selector.cc
index 8222614d980fbc6427672ee5ee1debb87ee458b4..2396ffcc7b66d7023a34124a26d0973109e33f74 100644
--- a/chrome/browser/ui/views/ssl_client_certificate_selector.cc
+++ b/chrome/browser/ui/views/ssl_client_certificate_selector.cc
@@ -17,7 +17,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/widget/widget.h"
-#if defined(USE_NSS)
+#if defined(USE_NSS_CERTS)
#include "chrome/browser/ui/crypto_module_password_dialog_nss.h"
#endif
@@ -57,7 +57,7 @@ bool SSLClientCertificateSelector::Accept() {
// notification while waiting for the unlock dialog, causing us to delete
// ourself before the Unlocked callback gets called.
StopObserving();
-#if defined(USE_NSS)
+#if defined(USE_NSS_CERTS)
chrome::UnlockCertSlotIfNecessary(
cert.get(), chrome::kCryptoModulePasswordClientAuth,
cert_request_info()->host_and_port, GetWidget()->GetNativeView(),
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698