OLD | NEW |
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/ssl_client_certificate_selector.h" | 5 #include "chrome/browser/ssl_client_certificate_selector.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/i18n/time_formatting.h" | 12 #include "base/i18n/time_formatting.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/nss_util.h" | |
15 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
16 #include "chrome/browser/ssl/ssl_client_auth_handler.h" | 15 #include "chrome/browser/ssl/ssl_client_auth_handler.h" |
17 #include "chrome/browser/ui/crypto_module_password_dialog.h" | 16 #include "chrome/browser/ui/crypto_module_password_dialog.h" |
18 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" | 17 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" |
19 #include "chrome/browser/ui/gtk/gtk_util.h" | 18 #include "chrome/browser/ui/gtk/gtk_util.h" |
20 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 19 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
21 #include "chrome/common/net/x509_certificate_model.h" | 20 #include "chrome/common/net/x509_certificate_model.h" |
22 #include "content/browser/certificate_viewer.h" | 21 #include "content/browser/certificate_viewer.h" |
23 #include "content/browser/tab_contents/tab_contents.h" | 22 #include "content/browser/tab_contents/tab_contents.h" |
24 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 void ShowSSLClientCertificateSelector( | 372 void ShowSSLClientCertificateSelector( |
374 TabContents* parent, | 373 TabContents* parent, |
375 net::SSLCertRequestInfo* cert_request_info, | 374 net::SSLCertRequestInfo* cert_request_info, |
376 SSLClientAuthHandler* delegate) { | 375 SSLClientAuthHandler* delegate) { |
377 (new SSLClientCertificateSelector(parent, | 376 (new SSLClientCertificateSelector(parent, |
378 cert_request_info, | 377 cert_request_info, |
379 delegate))->Show(); | 378 delegate))->Show(); |
380 } | 379 } |
381 | 380 |
382 } // namespace browser | 381 } // namespace browser |
OLD | NEW |