| Index: android_webview/native/aw_contents_io_thread_client_impl.cc
|
| diff --git a/android_webview/native/aw_contents_io_thread_client_impl.cc b/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| index d302608fb5022a1f636aa19ad5c355520235d5bc..75a86151f80dddd04c2420cf176a5f707e7849b2 100644
|
| --- a/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| +++ b/android_webview/native/aw_contents_io_thread_client_impl.cc
|
| @@ -176,6 +176,18 @@ AwContentsIoThreadClientImpl::~AwContentsIoThreadClientImpl() {
|
| // explict, out-of-line destructor.
|
| }
|
|
|
| +AwContentsIoThreadClient::CacheMode
|
| +AwContentsIoThreadClientImpl::GetCacheMode() const {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + if (java_object_.is_null())
|
| + return AwContentsIoThreadClient::LOAD_DEFAULT;
|
| +
|
| + JNIEnv* env = AttachCurrentThread();
|
| + return static_cast<AwContentsIoThreadClient::CacheMode>(
|
| + Java_AwContentsIoThreadClient_getCacheMode(
|
| + env, java_object_.obj()));
|
| +}
|
| +
|
| scoped_ptr<InterceptedRequestData>
|
| AwContentsIoThreadClientImpl::ShouldInterceptRequest(
|
| const GURL& location,
|
|
|