Chromium Code Reviews| Index: chrome/browser/ui/views/external_protocol_dialog.cc |
| diff --git a/chrome/browser/ui/views/external_protocol_dialog.cc b/chrome/browser/ui/views/external_protocol_dialog.cc |
| index 1cfc6c81bc2e221940b17399f9486d9d55ab15a2..740f88b32d2fe87cb3d28b8dac0e74d53c3c2c31 100644 |
| --- a/chrome/browser/ui/views/external_protocol_dialog.cc |
| +++ b/chrome/browser/ui/views/external_protocol_dialog.cc |
| @@ -27,13 +27,13 @@ const int kMessageWidth = 400; |
| } // namespace |
| -/////////////////////////////////////////////////////////////////////////////// |
| -// ExternalProtocolHandler |
| +namespace chrome { |
| -// static |
| -void ExternalProtocolHandler::RunExternalProtocolDialog( |
| - const GURL& url, int render_process_host_id, int routing_id, |
| - ui::PageTransition page_transition, bool has_user_gesture) { |
| +void RunExternalProtocolDialogViews(const GURL& url, |
|
tapted
2017/01/17 21:17:13
consider wrapping this entire method in
#if !defi
|
| + int render_process_host_id, |
| + int routing_id, |
| + ui::PageTransition page_transition, |
| + bool has_user_gesture) { |
| std::unique_ptr<ExternalProtocolDialogDelegate> delegate( |
| new ExternalProtocolDialogDelegate(url, render_process_host_id, |
| routing_id)); |
| @@ -47,6 +47,8 @@ void ExternalProtocolHandler::RunExternalProtocolDialog( |
| routing_id); |
| } |
| +} // namespace chrome |
| + |
| /////////////////////////////////////////////////////////////////////////////// |
| // ExternalProtocolDialog |