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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
7 7
8 #include "base/memory/scoped_ptr.h"
9
8 namespace net { 10 namespace net {
9 class URLRequestContext; 11 class URLRequestContext;
10 class URLRequestJobFactory; 12 class URLRequestJobFactory;
11 } // namespace net 13 } // namespace net
12 14
13 namespace android_webview { 15 namespace android_webview {
14 16
15 // This is called on the IO thread when the network URLRequestContext has been 17 // This is called on the IO thread when the network URLRequestContext has been
16 // initialized but not used. Note that the UI thread is blocked during this 18 // initialized but not used. Note that the UI thread is blocked during this
17 // call. 19 // call.
18 void OnNetworkStackInitialized(net::URLRequestContext* context, 20 scoped_ptr<net::URLRequestJobFactory> OnNetworkStackInitialized(
19 net::URLRequestJobFactory* job_factory); 21 net::URLRequestContext* context,
22 scoped_ptr<net::URLRequestJobFactory> job_factory);
20 23
21 } // namespace android_webview 24 } // namespace android_webview
22 25
23 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 26 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698