| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index 94b0eae75dacaf9cc1ede495ddde70efedf4a9c9..69c1526c331c6b624f462bc3a6dcc0f75f70eb10 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -26,6 +26,7 @@ public class AwContents {
|
| private int mNativeAwContents;
|
| private ContentViewCore mContentViewCore;
|
| private AwContentsClient mContentsClient;
|
| + private AwContentsIoThreadClient mIoThreadClient;
|
|
|
| private static final class DestroyRunnable implements Runnable {
|
| private int mNativeAwContents;
|
| @@ -72,6 +73,11 @@ public class AwContents {
|
| return mContentViewCore;
|
| }
|
|
|
| + public void setIoThreadClient(AwContentsIoThreadClient ioThreadClient) {
|
| + mIoThreadClient = ioThreadClient;
|
| + nativeSetIoThreadClient(mNativeAwContents, mIoThreadClient);
|
| + }
|
| +
|
| public void destroy() {
|
| if (mContentViewCore != null) {
|
| mContentViewCore.destroy();
|
| @@ -122,4 +128,7 @@ public class AwContents {
|
| private native int nativeGetWebContents(int nativeAwContents);
|
|
|
| private native void nativeDocumentHasImages(int nativeAwContents, Message message);
|
| +
|
| + private native void nativeSetIoThreadClient(int nativeAwContents,
|
| + AwContentsIoThreadClient ioThreadClient);
|
| }
|
|
|