| Index: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java
|
| index 3ea598eba78ab1196f2473da3a2f30a1caed367f..80550d5dc3810c3b4503ea10ccdebb3e76dd03c1 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java
|
| @@ -4,6 +4,8 @@
|
|
|
| package org.chromium.chrome.browser.customtabs;
|
|
|
| +import android.content.Intent;
|
| +
|
| import org.chromium.content_public.browser.LoadUrlParams;
|
|
|
| /**
|
| @@ -25,4 +27,11 @@ public interface CustomTabContentHandler {
|
| * @return The session id this {@link CustomTabContentHandler} is associated with.
|
| */
|
| long getSessionId();
|
| +
|
| + /**
|
| + * Check whether an intent is valid or should be ignored within this content handler.
|
| + * @param intent The intent to check.
|
| + * @return Whether the intent should be ignored.
|
| + */
|
| + boolean shouldIgnoreIntent(Intent intent);
|
| }
|
|
|