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/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "chrome/browser/certificate_viewer.h" | 15 #include "chrome/browser/certificate_viewer.h" |
16 #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/browser_thread.h" | 21 #include "content/browser/browser_thread.h" |
| 22 #include "content/browser/ssl/ssl_client_auth_handler.h" |
23 #include "content/browser/tab_contents/tab_contents.h" | 23 #include "content/browser/tab_contents/tab_contents.h" |
24 #include "grit/generated_resources.h" | 24 #include "grit/generated_resources.h" |
25 #include "net/base/x509_certificate.h" | 25 #include "net/base/x509_certificate.h" |
26 #include "ui/base/gtk/gtk_signal.h" | 26 #include "ui/base/gtk/gtk_signal.h" |
27 #include "ui/base/l10n/l10n_util.h" | 27 #include "ui/base/l10n/l10n_util.h" |
28 #include "ui/gfx/native_widget_types.h" | 28 #include "ui/gfx/native_widget_types.h" |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 enum { | 32 enum { |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 TabContents* parent, | 394 TabContents* parent, |
395 net::SSLCertRequestInfo* cert_request_info, | 395 net::SSLCertRequestInfo* cert_request_info, |
396 SSLClientAuthHandler* delegate) { | 396 SSLClientAuthHandler* delegate) { |
397 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 397 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
398 (new SSLClientCertificateSelector(parent, | 398 (new SSLClientCertificateSelector(parent, |
399 cert_request_info, | 399 cert_request_info, |
400 delegate))->Show(); | 400 delegate))->Show(); |
401 } | 401 } |
402 | 402 |
403 } // namespace browser | 403 } // namespace browser |
OLD | NEW |