Move render_view_context_menu.* and related files out of tab_contents.
[chromium-blink-merge.git] / android_webview / native / net_init_native_callback.cc
blobf355c0320947dc0d202ba39e3aa3c9ac43662ef7
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 "base/logging.h"
11 namespace android_webview {
12 class AwURLRequestJobFactory;
14 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
15 CreateAndroidAssetFileProtocolHandler() {
16 return CreateAssetFileProtocolHandler();
19 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
20 CreateAndroidContentProtocolHandler() {
21 return CreateContentSchemeProtocolHandler();
24 } // namespace android_webview