Index: content/public/browser/resource_dispatcher_host_delegate.h |
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h |
index 0d0eebc49163eb7edaa05126ba7d8f362a1cbb2a..598cffbe099eac74157bb64c21ddbd23ff5923c8 100644 |
--- a/content/public/browser/resource_dispatcher_host_delegate.h |
+++ b/content/public/browser/resource_dispatcher_host_delegate.h |
@@ -84,9 +84,12 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate { |
// Launches the url for the given tab. Returns true if an attempt to handle |
// the url was made, e.g. by launching an app. Note that this does not |
// guarantee that the app successfully handled it. |
+ // Some external protocol handlers only run in the context of a user gesture, |
+ // so initiated_by_user_gesture should be passed accordingly. |
virtual bool HandleExternalProtocol(const GURL& url, |
int child_id, |
- int route_id); |
+ int route_id, |
+ bool initiated_by_user_gesture); |
// Returns true if we should force the given resource to be downloaded. |
// Otherwise, the content layer decides. |