| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/callback.h" |
| 6 #include "base/logging.h" | 6 #include "base/logging.h" |
| 7 | |
| 8 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 7 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 9 #include "chrome/browser/importer/importer_progress_dialog.h" | 8 #include "chrome/browser/importer/importer_progress_dialog.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 11 | 10 |
| 12 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 13 #include "chrome/browser/first_run/first_run.h" | 12 #include "chrome/browser/first_run/first_run.h" |
| 14 #include "chrome/browser/first_run/first_run_import_observer.h" | 13 #include "chrome/browser/first_run/first_run_import_observer.h" |
| 15 #include "chrome/browser/ui/views/first_run_bubble.h" | 14 #include "chrome/browser/ui/views/first_run_bubble.h" |
| 16 #else | 15 #else |
| 17 #include "chrome/browser/ui/certificate_dialogs.h" | 16 #include "chrome/browser/ui/certificate_dialogs.h" |
| 18 #endif | 17 #endif |
| 19 | 18 |
| 20 #if defined(USE_NSS) | 19 #if defined(USE_NSS) |
| 21 #include "chrome/browser/ui/crypto_module_password_dialog.h" | 20 #include "chrome/browser/ui/crypto_module_password_dialog.h" |
| 22 #endif | 21 #endif |
| 23 | 22 |
| 24 class SSLClientAuthHandler; | 23 class SSLClientAuthHandler; |
| 25 class TabContents; | 24 class TabContents; |
| 26 | 25 |
| 27 namespace content { | 26 namespace content { |
| 28 class WebContents; | 27 class WebContents; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace net { | 30 namespace net { |
| 32 class HttpNetworkSession; | 31 class HttpNetworkSession; |
| 33 class SSLCertRequestInfo; | 32 class SSLCertRequestInfo; |
| 34 class X509Certificate; | 33 class X509Certificate; |
| 35 } | 34 } |
| 35 |
| 36 namespace views { | 36 namespace views { |
| 37 class Widget; | 37 class Widget; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace browser { | 40 namespace chrome { |
| 41 | 41 |
| 42 void ShowAboutIPCDialog() { | 42 void ShowAboutIPCDialog() { |
| 43 // TODO(beng): | 43 // TODO(beng): |
| 44 NOTIMPLEMENTED(); | 44 NOTIMPLEMENTED(); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace browser | 47 } // namespace chrome |
| 48 | 48 |
| 49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
| 50 void ShowCertificateViewer(content::WebContents* web_contents, | 50 void ShowCertificateViewer(content::WebContents* web_contents, |
| 51 gfx::NativeWindow parent, | 51 gfx::NativeWindow parent, |
| 52 net::X509Certificate* cert) { | 52 net::X509Certificate* cert) { |
| 53 // No certificate viewer on Windows. | 53 // No certificate viewer on Windows. |
| 54 } | 54 } |
| 55 #endif // OS_WIN | 55 #endif // OS_WIN |
| 56 | 56 |
| 57 namespace importer { | 57 namespace importer { |
| 58 | 58 |
| 59 void ShowImportProgressDialog(uint16 items, | 59 void ShowImportProgressDialog(uint16 items, |
| 60 ImporterHost* importer_host, | 60 ImporterHost* importer_host, |
| 61 ImporterObserver* importer_observer, | 61 ImporterObserver* importer_observer, |
| 62 const SourceProfile& source_profile, | 62 const SourceProfile& source_profile, |
| 63 Profile* target_profile, | 63 Profile* target_profile, |
| 64 bool first_run) { | 64 bool first_run) { |
| 65 // TODO(beng); | 65 // TODO(beng); |
| 66 NOTIMPLEMENTED(); | 66 NOTIMPLEMENTED(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace importer | 69 } // namespace importer |
| 70 | 70 |
| 71 // static | 71 // static |
| 72 void ExternalProtocolHandler::RunExternalProtocolDialog( | 72 void ExternalProtocolHandler::RunExternalProtocolDialog( |
| 73 const GURL& url, int render_process_host_id, int routing_id) { | 73 const GURL& url, int render_process_host_id, int routing_id) { |
| 74 } | 74 } |
| OLD | NEW |