| 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 cb40ca14da46daced7ec040515c5a983ead7a70f..e33c7ddf98c9a8aeb879cdd54d04c72209e00740 100644
|
| --- a/content/public/browser/resource_dispatcher_host_delegate.h
|
| +++ b/content/public/browser/resource_dispatcher_host_delegate.h
|
| @@ -73,14 +73,17 @@ 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.
|
| + // guarantee that the app successfully handled it. Parameter |is_whitelisted|
|
| + // specifies whether |url| matches a whitelist pattern defined by user. In
|
| + // that case it will process the |url| without asking user permission.
|
| virtual bool HandleExternalProtocol(
|
| const GURL& url,
|
| int child_id,
|
| const ResourceRequestInfo::WebContentsGetter& web_contents_getter,
|
| bool is_main_frame,
|
| ui::PageTransition page_transition,
|
| - bool has_user_gesture);
|
| + bool has_user_gesture,
|
| + bool is_whitelisted);
|
|
|
| // Returns true if we should force the given resource to be downloaded.
|
| // Otherwise, the content layer decides.
|
|
|