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

Side by Side Diff: chrome/browser/ui/webui/ssl_client_certificate_selector_webui.cc

Issue 8511048: Addressed or cleaned-up a number of TODOs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/ssl_client_certificate_selector_webui.h" 5 #include "chrome/browser/ui/webui/ssl_client_certificate_selector_webui.h"
6 6
7 #include <vector> 7 #include <vector>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 //////////////////////////////////////////////////////////////////////////////// 285 ////////////////////////////////////////////////////////////////////////////////
286 // Platform API 286 // Platform API
287 287
288 namespace browser { 288 namespace browser {
289 289
290 void ShowSSLClientCertificateSelector( 290 void ShowSSLClientCertificateSelector(
291 TabContentsWrapper* wrapper, 291 TabContentsWrapper* wrapper,
292 net::SSLCertRequestInfo* cert_request_info, 292 net::SSLCertRequestInfo* cert_request_info,
293 SSLClientAuthHandler* delegate) { 293 SSLClientAuthHandler* delegate) {
294 #if defined(USE_AURA) 294 #if defined(USE_AURA)
295 // TODO(saintlou): Aura uses always "more WebUI". 295 SSLClientCertificateSelectorWebUI::ShowDialog(wrapper,
296 ShowNativeSSLClientCertificateSelector(wrapper, cert_request_info, delegate); 296 cert_request_info,
297 delegate);
297 #else 298 #else
298 if (ChromeWebUI::IsMoreWebUI()) 299 if (ChromeWebUI::IsMoreWebUI())
299 SSLClientCertificateSelectorWebUI::ShowDialog(wrapper, 300 SSLClientCertificateSelectorWebUI::ShowDialog(wrapper,
300 cert_request_info, 301 cert_request_info,
301 delegate); 302 delegate);
302 else 303 else
303 ShowNativeSSLClientCertificateSelector(wrapper, 304 ShowNativeSSLClientCertificateSelector(wrapper,
304 cert_request_info, 305 cert_request_info,
305 delegate); 306 delegate);
306 #endif 307 #endif
307 } 308 }
308 309
309 } // namespace browser 310 } // namespace browser
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698