Commit b8dc2a13 authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Revert "JNI refactor: Remove unused method from UrlUtilities.java."

This reverts commit 89cc7c83.

Reason for revert:
https://logs.chromium.org/logs/chrome/buildbucket/cr-buildbucket.appspot.com/8901507064210139120/+/steps/compile/0/stdout

Original change's description:
> JNI refactor: Remove unused method from UrlUtilities.java.
> 
> Downstream usages have been updated to use proxy native methods.
> 
> Bug: 929661
> Change-Id: I05cb9a3a520ae58006395f3826487f92f14e5e74
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818871
> Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
> Auto-Submit: Eric Stevenson <estevenson@chromium.org>
> Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#698919}

TBR=estevenson@chromium.org,tiborg@chromium.org

Change-Id: Ida116a48b0673d5ace196d33b50cc52354686747
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 929661
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1816449Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#698931}
parent 0668472e
...@@ -360,6 +360,11 @@ public class UrlUtilities { ...@@ -360,6 +360,11 @@ public class UrlUtilities {
return noScheme; return noScheme;
} }
// TODO(estevenson): Remove this after downstream usages are removed.
public static boolean nativeIsGoogleSearchUrl(String url) {
return UrlUtilitiesJni.get().isGoogleSearchUrl(url);
}
@NativeMethods @NativeMethods
public interface Natives { public interface Natives {
boolean isDownloadable(String url); boolean isDownloadable(String url);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment