Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / external_protocol_dialog_delegate.h
index 836b1cd..c72de66 100644 (file)
@@ -20,6 +20,8 @@ class ExternalProtocolDialogDelegate : public ProtocolDialogDelegate {
                                           int tab_contents_id);
   virtual ~ExternalProtocolDialogDelegate();
 
+  const base::string16& command() const { return command_; }
+
   virtual void DoAccept(const GURL& url, bool dont_block) const OVERRIDE;
   virtual void DoCancel(const GURL& url, bool dont_block) const OVERRIDE;
 
@@ -30,6 +32,9 @@ class ExternalProtocolDialogDelegate : public ProtocolDialogDelegate {
  private:
   int render_process_host_id_;
   int tab_contents_id_;
+  const base::string16 command_;
+
+  DISALLOW_COPY_AND_ASSIGN(ExternalProtocolDialogDelegate);
 };
 
 #endif  // CHROME_BROWSER_UI_EXTERNAL_PROTOCOL_DIALOG_DELEGATE_H_