Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3258)

Unified Diff: chrome/browser/ui/external_protocol_dialog_delegate.h

Issue 107033003: Stop using GetDefaultProfile() in Chrome OS implementation of platform_util::OpenExternal() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove is_valid check Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/external_protocol_dialog_delegate.h
diff --git a/chrome/browser/ui/external_protocol_dialog_delegate.h b/chrome/browser/ui/external_protocol_dialog_delegate.h
index 85de91efb604949b07ff81382759a6467164923a..836b1cd2ed6588c5d76927a35356d90918231a6a 100644
--- a/chrome/browser/ui/external_protocol_dialog_delegate.h
+++ b/chrome/browser/ui/external_protocol_dialog_delegate.h
@@ -15,7 +15,9 @@
// or not to launch the application for the given protocol.
class ExternalProtocolDialogDelegate : public ProtocolDialogDelegate {
public:
- explicit ExternalProtocolDialogDelegate(const GURL& url);
+ explicit ExternalProtocolDialogDelegate(const GURL& url,
+ int render_process_host_id,
+ int tab_contents_id);
virtual ~ExternalProtocolDialogDelegate();
virtual void DoAccept(const GURL& url, bool dont_block) const OVERRIDE;
@@ -24,6 +26,10 @@ class ExternalProtocolDialogDelegate : public ProtocolDialogDelegate {
virtual base::string16 GetMessageText() const OVERRIDE;
virtual base::string16 GetCheckboxText() const OVERRIDE;
virtual base::string16 GetTitleText() const OVERRIDE;
+
+ private:
+ int render_process_host_id_;
+ int tab_contents_id_;
};
#endif // CHROME_BROWSER_UI_EXTERNAL_PROTOCOL_DIALOG_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/cocoa/external_protocol_dialog.mm ('k') | chrome/browser/ui/external_protocol_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698