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 3 // found in the LICENSE file. 4 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 7 8 #include "base/memory/scoped_ptr.h" 9 #include "net/url_request/url_request_job_factory.h" 10 11 namespace net { 12 class CookieMonster; 13 } // namespace net 14 15 namespace android_webview { 16 17 // Called lazily when the job factory is being constructed. 18 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 19 CreateAndroidAssetFileProtocolHandler(); 20 21 // Called lazily when the job factory is being constructed. 22 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 23 CreateAndroidContentProtocolHandler(); 24 25 } // namespace android_webview 26 27 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_ 28