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

Side by Side Diff: android_webview/browser/net/init_native_callback.h

Issue 282103004: Rename ProtocolInterceptJobFactory and make it not use ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to jam's comments (And a merge) Created 6 years, 6 months 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/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/url_request/url_request_job_factory.h"
11 10
12 namespace net { 11 namespace net {
13 class CookieStore; 12 class CookieStore;
13 class URLRequestInterceptor;
14 } // namespace net 14 } // namespace net
15 15
16 namespace android_webview { 16 namespace android_webview {
17 class AwBrowserContext; 17 class AwBrowserContext;
18 18
19 // Called when the CookieMonster needs to be created. 19 // Called when the CookieMonster needs to be created.
20 scoped_refptr<net::CookieStore> CreateCookieStore( 20 scoped_refptr<net::CookieStore> CreateCookieStore(
21 AwBrowserContext* browser_context); 21 AwBrowserContext* browser_context);
22 22
23 // Called lazily when the job factory is being constructed. 23 // Called lazily when the job factory is being constructed.
24 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 24 scoped_ptr<net::URLRequestInterceptor>
25 CreateAndroidAssetFileProtocolHandler(); 25 CreateAndroidAssetFileRequestInterceptor();
26 26
27 // Called lazily when the job factory is being constructed. 27 // Called lazily when the job factory is being constructed.
28 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 28 scoped_ptr<net::URLRequestInterceptor>
29 CreateAndroidContentProtocolHandler(); 29 CreateAndroidContentRequestInterceptor();
30 30
31 } // namespace android_webview 31 } // namespace android_webview
32 32
33 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 33 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.cc ('k') | android_webview/native/android_protocol_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698