[Android] Add IO thread delegate for request intercepting.
commitad52295f552b2bd60cdd28314333e1bbe3ff9c9b
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 19 Sep 2012 11:08:26 +0000 (19 11:08 +0000)
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 19 Sep 2012 11:08:26 +0000 (19 11:08 +0000)
tree730cf79606095de688148d5af47140820f379347
parent7f803f3ecaed017da5eaffb0c7ce4f5aaa2a2878
[Android] Add IO thread delegate for request intercepting.

This is to make it possible for a ResourceThrottle (which runs on
the IO thread) to call a WebViewClient method. This requires
caching the RenderViewHost<->WebContents relationship in
    a threadsafe way.

BUG=138481

Review URL: https://codereview.chromium.org/10702083

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157533 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
android_webview/java/src/org/chromium/android_webview/AwContents.java
android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java [new file with mode: 0644]
android_webview/native/android_webview_jni_registrar.cc
android_webview/native/aw_contents.cc
android_webview/native/aw_contents.h
android_webview/native/aw_contents_io_thread_client.cc [new file with mode: 0644]
android_webview/native/aw_contents_io_thread_client.h [new file with mode: 0644]
android_webview/native/intercepted_request_data.cc
android_webview/native/intercepted_request_data.h
android_webview/native/webview_native.gyp
base/android/jni_generator/jni_generator.py
base/android/jni_helper.cc
base/android/jni_helper.h