Index: chrome/browser/external_protocol/external_protocol_handler.h |
diff --git a/chrome/browser/external_protocol/external_protocol_handler.h b/chrome/browser/external_protocol/external_protocol_handler.h |
index 75ff77a874ce1388652539b0a79fddb6d8e740f4..b6641856745d2197edafc9817dec34e17a29dcd2 100644 |
--- a/chrome/browser/external_protocol/external_protocol_handler.h |
+++ b/chrome/browser/external_protocol/external_protocol_handler.h |
@@ -9,8 +9,10 @@ |
#include "base/macros.h" |
#include "chrome/browser/shell_integration.h" |
+#include "content/public/browser/web_contents.h" |
#include "ui/base/page_transition_types.h" |
+ |
alexmos
2016/12/01 19:21:14
nit: no blank line
davidsac (gone - try alexmos)
2016/12/12 19:15:47
Done.
|
class GURL; |
class PrefRegistrySimple; |
@@ -41,7 +43,9 @@ class ExternalProtocolHandler { |
int routing_id, |
ui::PageTransition page_transition, |
bool has_user_gesture) = 0; |
- virtual void LaunchUrlWithoutSecurityCheck(const GURL& url) = 0; |
+ virtual void LaunchUrlWithoutSecurityCheck( |
+ const GURL& url, |
+ content::WebContents* web_contents) = 0; |
virtual void FinishedProcessingCheck() = 0; |
virtual ~Delegate() {} |
}; |
@@ -76,8 +80,7 @@ class ExternalProtocolHandler { |
// url you have has been checked against the blacklist, and has been escaped. |
// All calls to this function should originate in some way from LaunchUrl. |
static void LaunchUrlWithoutSecurityCheck(const GURL& url, |
- int render_process_host_id, |
- int tab_contents_id); |
+ content::WebContents* web_contents); |
// Allows LaunchUrl to proceed with launching an external protocol handler. |
// This is typically triggered by a user gesture, but is also called for |