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

Unified Diff: chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc

Issue 8547017: Use WebUI version of SSL cert dialog on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc
diff --git a/chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc b/chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc
index 1c66ee7e120fbfd0680eb79cccf53fc98edd3f7d..ad9c3b14018870220e4adfc777bd1c6582d17ae2 100644
--- a/chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc
+++ b/chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc
@@ -291,11 +291,14 @@ void ShowSSLClientCertificateSelector(
TabContentsWrapper* wrapper,
net::SSLCertRequestInfo* cert_request_info,
SSLClientAuthHandler* delegate) {
-#if defined(USE_AURA)
+#if defined(USE_AURA) || defined(OS_CHROMEOS)
SSLClientCertificateSelectorWebUI::ShowDialog(wrapper,
cert_request_info,
delegate);
#else
+ // TODO(rbyers): Remove the IsMoreWebUI check and (ideally) all #ifdefs onnce
+ // we can select exactly one version of this dialog to use for each platform
+ // at build time. http://crbug.com/102775
if (ChromeWebUI::IsMoreWebUI())
SSLClientCertificateSelectorWebUI::ShowDialog(wrapper,
cert_request_info,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698