| 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 a26c8027f93848f06f22b4a9a99cf8b2e5ae325b..82266b8663c5b6ea531626daf8e09ff81950bc91 100644
|
| --- a/android_webview/native/android_protocol_handler.h
|
| +++ b/android_webview/native/android_protocol_handler.h
|
| @@ -7,27 +7,29 @@
|
|
|
| #include "base/android/jni_android.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "net/url_request/url_request_job_factory.h"
|
|
|
| namespace net {
|
| class URLRequestContext;
|
| -class URLRequestJobFactory;
|
| } // namespace net
|
|
|
| namespace android_webview {
|
| -class AwURLRequestJobFactory;
|
|
|
| -// This class adds support for Android WebView-specific protocol schemes:
|
| +// These method register support for Android WebView-specific protocol schemes:
|
| //
|
| // - "content:" scheme is used for accessing data from Android content
|
| // providers, see http://developer.android.com/guide/topics/providers/
|
| // content-provider-basics.html#ContentURIs
|
| //
|
| +scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + CreateContentSchemeProtocolHandler();
|
| +
|
| // - "file:" scheme extension for accessing application assets and resources
|
| // (file:///android_asset/ and file:///android_res/), see
|
| // http://developer.android.com/reference/android/webkit/
|
| // WebSettings.html#setAllowFileAccess(boolean)
|
| -scoped_ptr<net::URLRequestJobFactory> CreateAndroidRequestJobFactory(
|
| - scoped_ptr<AwURLRequestJobFactory> job_factory);
|
| +scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + CreateAssetFileProtocolHandler();
|
|
|
| bool RegisterAndroidProtocolHandler(JNIEnv* env);
|
|
|
|
|