Chromium Code Reviews| 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 5910d861d066797bb317c11de0e9cfad54e0bb3c..41e5053fe4b6e6ea321c3ec710ae644d73f90fdb 100644 |
| --- a/android_webview/native/android_protocol_handler.h |
| +++ b/android_webview/native/android_protocol_handler.h |
| @@ -6,6 +6,7 @@ |
| #define ANDROID_WEBVIEW_NATIVE_ANDROID_PROTOCOL_HANDLER_H_ |
| #include "base/android/jni_android.h" |
| +#include "base/memory/scoped_ptr.h" |
| namespace net { |
| class URLRequestContext; |
| @@ -24,9 +25,8 @@ namespace android_webview { |
| // (file:///android_asset/ and file:///android_res/), see |
| // http://developer.android.com/reference/android/webkit/ |
| // WebSettings.html#setAllowFileAccess(boolean) |
| -void RegisterAndroidProtocolsOnIOThread( |
| - net::URLRequestContext* context, |
| - net::URLRequestJobFactory* job_factory); |
| +scoped_ptr<net::URLRequestJobFactory> CreateAndroidRequestJobFactory( |
| + scoped_ptr<net::URLRequestJobFactory> job_factory); |
| bool RegisterAndroidProtocolHandler(JNIEnv* env); |
|
mmenke
2012/12/13 16:12:04
nit: While you're here, mind adding a line break
|
| } // namespace android_webview |