Commit 67ed4ef8 authored by davidben's avatar davidben Committed by Commit bot

Remove unused USE_OPENSSL_CERTS conditional.

No platform builds with USE_AURA and USE_OPENSSL_CERTS. This is a
remnant of some aborted attempts to switch all platforms to
USE_OPENSSL_CERTS.

BUG=671420

Review-Url: https://codereview.chromium.org/2859793003
Cr-Commit-Position: refs/heads/master@{#469041}
parent fe342d7b
......@@ -181,7 +181,7 @@
#include "chrome/browser/ui/webui/sandbox_internals_ui.h"
#endif
#if (defined(USE_NSS_CERTS) || defined(USE_OPENSSL_CERTS)) && defined(USE_AURA)
#if defined(USE_NSS_CERTS) && defined(USE_AURA)
#include "chrome/browser/ui/webui/certificate_viewer_ui.h"
#endif
......@@ -571,14 +571,14 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
return &NewWebUI<ConstrainedWebDialogUI>;
}
#endif
#if (defined(USE_NSS_CERTS) || defined(USE_OPENSSL_CERTS)) && defined(USE_AURA)
#if defined(USE_NSS_CERTS) && defined(USE_AURA)
if (url.host_piece() == chrome::kChromeUICertificateViewerHost)
return &NewWebUI<CertificateViewerUI>;
#if defined(OS_CHROMEOS)
if (url.host_piece() == chrome::kChromeUICertificateViewerDialogHost)
return &NewWebUI<CertificateViewerModalDialogUI>;
#endif
#endif // (USE_NSS_CERTS || USE_OPENSSL_CERTS) && USE_AURA
#endif // USE_NSS_CERTS && USE_AURA
if (url.host_piece() == chrome::kChromeUIPolicyHost)
return &NewWebUI<PolicyUI>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment