Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1432)

Unified Diff: android_webview/native/android_protocol_handler.h

Issue 11293252: Change Interceptors into URLRequestJobFactory::ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a6c7e9bdb059e98f3d348e1c9a1d8b95cfa1422e 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,9 @@ namespace android_webview {
// (file:///android_asset/ and file:///android_res/), see
// http://developer.android.com/reference/android/webkit/
// WebSettings.html#setAllowFileAccess(boolean)
-void RegisterAndroidProtocolsOnIOThread(
+scoped_ptr<net::URLRequestJobFactory> RegisterAndroidProtocolsOnIOThread(
net::URLRequestContext* context,
- net::URLRequestJobFactory* job_factory);
+ scoped_ptr<net::URLRequestJobFactory> job_factory);
bool RegisterAndroidProtocolHandler(JNIEnv* env);
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698