| 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 "base/callback.h" |
| 5 #include "base/logging.h" | 6 #include "base/logging.h" |
| 6 | 7 |
| 7 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 8 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 8 #include "chrome/browser/importer/importer_progress_dialog.h" | 9 #include "chrome/browser/importer/importer_progress_dialog.h" |
| 9 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 10 | 11 |
| 11 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 12 #include "chrome/browser/first_run/first_run.h" | 13 #include "chrome/browser/first_run/first_run.h" |
| 13 #include "chrome/browser/first_run/first_run_import_observer.h" | 14 #include "chrome/browser/first_run/first_run_import_observer.h" |
| 14 #include "chrome/browser/ui/views/first_run_bubble.h" | 15 #include "chrome/browser/ui/views/first_run_bubble.h" |
| 15 #else | 16 #else |
| 16 #include "chrome/browser/ui/certificate_dialogs.h" | 17 #include "chrome/browser/ui/certificate_dialogs.h" |
| 17 #endif | 18 #endif |
| 18 | 19 |
| 19 #if defined(USE_NSS) | 20 #if defined(USE_NSS) |
| 20 #include "chrome/browser/ui/crypto_module_password_dialog.h" | 21 #include "chrome/browser/ui/crypto_module_password_dialog.h" |
| 21 #endif | 22 #endif |
| 22 | 23 |
| 23 class SSLClientAuthHandler; | 24 class SSLClientAuthHandler; |
| 24 class TabContents; | 25 class TabContents; |
| 25 class TabContentsWrapper; | 26 class TabContentsWrapper; |
| 26 | 27 |
| 27 namespace net { | 28 namespace net { |
| 29 class HttpNetworkSession; |
| 28 class SSLCertRequestInfo; | 30 class SSLCertRequestInfo; |
| 29 class X509Certificate; | 31 class X509Certificate; |
| 30 } | 32 } |
| 31 namespace views { | 33 namespace views { |
| 32 class Widget; | 34 class Widget; |
| 33 } | 35 } |
| 34 | 36 |
| 35 namespace browser { | 37 namespace browser { |
| 36 | 38 |
| 37 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
| 38 void ShowSSLClientCertificateSelector( | 40 void ShowSSLClientCertificateSelector( |
| 39 TabContentsWrapper* parent, | 41 TabContentsWrapper* parent, |
| 42 const net::HttpNetworkSession* network_session, |
| 40 net::SSLCertRequestInfo* cert_request_info, | 43 net::SSLCertRequestInfo* cert_request_info, |
| 41 SSLClientAuthHandler* delegate) { | 44 const base::Callback<void(net::X509Certificate*)>& callback) { |
| 42 // TODO(beng): | 45 // TODO(beng): |
| 43 NOTIMPLEMENTED(); | 46 NOTIMPLEMENTED(); |
| 44 } | 47 } |
| 45 #endif | 48 #endif |
| 46 | 49 |
| 47 void ShowAboutIPCDialog() { | 50 void ShowAboutIPCDialog() { |
| 48 // TODO(beng): | 51 // TODO(beng): |
| 49 NOTIMPLEMENTED(); | 52 NOTIMPLEMENTED(); |
| 50 } | 53 } |
| 51 | 54 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 70 // TODO(beng); | 73 // TODO(beng); |
| 71 NOTIMPLEMENTED(); | 74 NOTIMPLEMENTED(); |
| 72 } | 75 } |
| 73 | 76 |
| 74 } // namespace importer | 77 } // namespace importer |
| 75 | 78 |
| 76 // static | 79 // static |
| 77 void ExternalProtocolHandler::RunExternalProtocolDialog( | 80 void ExternalProtocolHandler::RunExternalProtocolDialog( |
| 78 const GURL& url, int render_process_host_id, int routing_id) { | 81 const GURL& url, int render_process_host_id, int routing_id) { |
| 79 } | 82 } |
| OLD | NEW |