| Index: android_webview/native/android_protocol_handler.h
|
| diff --git a/android_webview/native/android_protocol_handler.h b/android_webview/native/android_protocol_handler.h
|
| index 0fde454cdfdb73f8fb65edc72ca6ffe804eea8a8..a26c8027f93848f06f22b4a9a99cf8b2e5ae325b 100644
|
| --- a/android_webview/native/android_protocol_handler.h
|
| +++ b/android_webview/native/android_protocol_handler.h
|
| @@ -6,9 +6,11 @@
|
| #define ANDROID_WEBVIEW_NATIVE_ANDROID_PROTOCOL_HANDLER_H_
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "base/memory/scoped_ptr.h"
|
|
|
| namespace net {
|
| class URLRequestContext;
|
| +class URLRequestJobFactory;
|
| } // namespace net
|
|
|
| namespace android_webview {
|
| @@ -24,11 +26,11 @@ class AwURLRequestJobFactory;
|
| // (file:///android_asset/ and file:///android_res/), see
|
| // http://developer.android.com/reference/android/webkit/
|
| // WebSettings.html#setAllowFileAccess(boolean)
|
| -void RegisterAndroidProtocolsOnIOThread(
|
| - net::URLRequestContext* context,
|
| - AwURLRequestJobFactory* job_factory);
|
| +scoped_ptr<net::URLRequestJobFactory> CreateAndroidRequestJobFactory(
|
| + scoped_ptr<AwURLRequestJobFactory> job_factory);
|
|
|
| bool RegisterAndroidProtocolHandler(JNIEnv* env);
|
| +
|
| } // namespace android_webview
|
|
|
| #endif // ANDROID_WEBVIEW_NATIVE_ANDROID_PROTOCOL_HANDLER_H_
|
|
|