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

Unified Diff: android_webview/browser/net/init_native_callback.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/browser/net/init_native_callback.h
diff --git a/android_webview/browser/net/init_native_callback.h b/android_webview/browser/net/init_native_callback.h
index 10588a112c28996e29d16469014b27d2c48a3b5e..e842c928993dcce4f684035bd304064736414467 100644
--- a/android_webview/browser/net/init_native_callback.h
+++ b/android_webview/browser/net/init_native_callback.h
@@ -5,6 +5,8 @@
#ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
#define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
+#include "base/memory/scoped_ptr.h"
+
namespace net {
class URLRequestContext;
class URLRequestJobFactory;
@@ -15,8 +17,9 @@ namespace android_webview {
// This is called on the IO thread when the network URLRequestContext has been
// initialized but not used. Note that the UI thread is blocked during this
// call.
-void OnNetworkStackInitialized(net::URLRequestContext* context,
- net::URLRequestJobFactory* job_factory);
+scoped_ptr<net::URLRequestJobFactory> OnNetworkStackInitialized(
+ net::URLRequestContext* context,
+ scoped_ptr<net::URLRequestJobFactory> job_factory);
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698