Instrumented libraries: improve handling of custom patches.
[chromium-blink-merge.git] / android_webview / native / net_init_native_callback.cc
blob22a245bad688daef86ba4b7895d5357d4b01a096
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.
5 #include "android_webview/browser/net/init_native_callback.h"
7 #include "android_webview/browser/net/aw_url_request_job_factory.h"
8 #include "android_webview/native/android_protocol_handler.h"
9 #include "net/url_request/url_request_interceptor.h"
11 namespace android_webview {
13 scoped_ptr<net::URLRequestInterceptor>
14 CreateAndroidAssetFileRequestInterceptor() {
15 return CreateAssetFileRequestInterceptor();
18 scoped_ptr<net::URLRequestInterceptor>
19 CreateAndroidContentRequestInterceptor() {
20 return CreateContentSchemeRequestInterceptor();
23 } // namespace android_webview