| Index: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
|
| index b656a05acf0d18410ac462ad2fc8df2a3f0834fb..284f0fc8e26cc8228e368a381cfbb9e65ce40437 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
|
| @@ -8,27 +8,25 @@ import org.chromium.base.CalledByNative;
|
| import org.chromium.base.JNINamespace;
|
|
|
| /**
|
| - * Delegate for handling callbacks from the IO thread on the IO thread.
|
| + * Delegate for handling callbacks. All methods are called on the IO thread.
|
| *
|
| - * The shouldInterceptRequest method will be called on the IO thread.
|
| * You should create a separate instance for every WebContents that requires the
|
| * provided functionality.
|
| */
|
| @JNINamespace("android_webview")
|
| public interface AwContentsIoThreadClient {
|
| - // Called on the IO thread.
|
| + @CalledByNative
|
| + public int getCacheMode();
|
| +
|
| @CalledByNative
|
| public InterceptedRequestData shouldInterceptRequest(String url);
|
|
|
| - // Called on the IO thread.
|
| @CalledByNative
|
| public boolean shouldBlockContentUrls();
|
|
|
| - // Called on the IO thread.
|
| @CalledByNative
|
| public boolean shouldBlockFileUrls();
|
|
|
| - // Called on the IO thread.
|
| @CalledByNative
|
| public boolean shouldBlockNetworkLoads();
|
| }
|
|
|