Commit 2ee1f1ea authored by Xinghui Lu's avatar Xinghui Lu Committed by Commit Bot

Reland "Remove default startAllowlistLookup interface"

This is a reland of e0b95885

Previous CL broke WebView build because startAllowlistLookup is not implemented.

Original change's description:
> Remove default startAllowlistLookup interface
>
> Bug: 995926
> Change-Id: I76ac44526fcf7241b800899810db81dbdd598ae3
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846092
> Reviewed-by: Varun Khaneja <vakh@chromium.org>
> Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#703911}

Bug: 995926, 1012531
Change-Id: I9d1788b61d87fa05c6f03ae1a76f454526bab6c1
Test: autoninja -C out/Debug system_webview_google_apk
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850769Reviewed-by: default avatarNate Fischer <ntfschr@chromium.org>
Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
Commit-Queue: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707603}
parent 19e81ee5
...@@ -82,8 +82,5 @@ public interface SafeBrowsingApiHandler { ...@@ -82,8 +82,5 @@ public interface SafeBrowsingApiHandler {
* *
* @return true if the uri is found in the corresponding allowlist. Otherwise, false. * @return true if the uri is found in the corresponding allowlist. Otherwise, false.
*/ */
// TODO(xinghuilu@): remove default once downstream implementation is patched public boolean startAllowlistLookup(String uri, int threatType);
default boolean startAllowlistLookup(String uri, int threatType) {
return false;
}
} }
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