| Index: chrome/browser/ui/views/external_protocol_dialog.h
|
| diff --git a/chrome/browser/ui/views/external_protocol_dialog.h b/chrome/browser/ui/views/external_protocol_dialog.h
|
| index 6573d0979018858a3c26fded0c943cc4b2a5c686..f90963a36f87f4d9a93717d7c736e6b9c8991dc3 100644
|
| --- a/chrome/browser/ui/views/external_protocol_dialog.h
|
| +++ b/chrome/browser/ui/views/external_protocol_dialog.h
|
| @@ -11,10 +11,6 @@
|
| #include "ui/views/window/dialog_delegate.h"
|
| #include "url/gurl.h"
|
|
|
| -namespace content {
|
| -class WebContents;
|
| -}
|
| -
|
| namespace views {
|
| class MessageBoxView;
|
| }
|
| @@ -22,8 +18,9 @@ class MessageBoxView;
|
| class ExternalProtocolDialog : public views::DialogDelegate {
|
| public:
|
| // RunExternalProtocolDialog calls this private constructor.
|
| - ExternalProtocolDialog(content::WebContents* web_contents,
|
| - const GURL& url,
|
| + ExternalProtocolDialog(const GURL& url,
|
| + int render_process_host_id,
|
| + int routing_id,
|
| const std::wstring& command);
|
|
|
| // Returns the path of the application to be launched given the protocol
|
| @@ -47,12 +44,13 @@ class ExternalProtocolDialog : public views::DialogDelegate {
|
| // The message box view whose commands we handle.
|
| views::MessageBoxView* message_box_view_;
|
|
|
| - // The associated WebContents.
|
| - content::WebContents* web_contents_;
|
| -
|
| // URL of the external protocol request.
|
| GURL url_;
|
|
|
| + // IDs of the associated WebContents.
|
| + int render_process_host_id_;
|
| + int routing_id_;
|
| +
|
| // The time at which this dialog was created.
|
| base::TimeTicks creation_time_;
|
|
|
|
|