| Index: chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java b/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
|
| index ee9df01e3d2a03c1f636454cdc0c2e68cf77076b..132e8b404147e3fdb6fcb80346b5e9465f7b29fc 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
|
| @@ -6,6 +6,7 @@ package org.chromium.chrome.browser;
|
|
|
| import android.text.TextUtils;
|
|
|
| +import org.chromium.base.CalledByNative;
|
| import org.chromium.base.CollectionUtil;
|
|
|
| import java.net.URI;
|
| @@ -44,6 +45,7 @@ public class UrlUtilities {
|
| *
|
| * @return True if the URI's scheme is one that ContentView can handle.
|
| */
|
| + @CalledByNative
|
| public static boolean isAcceptedScheme(String uri) {
|
| try {
|
| return isAcceptedScheme(new URI(uri));
|
| @@ -66,6 +68,7 @@ public class UrlUtilities {
|
| *
|
| * @return True if the URI's scheme is one that Chrome can download.
|
| */
|
| + @CalledByNative
|
| public static boolean isDownloadableScheme(String uri) {
|
| try {
|
| return isDownloadableScheme(new URI(uri));
|
|
|