Home | History | Annotate | Download | only in native
      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 #include "android_webview/browser/net/init_native_callback.h"
      6 
      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"
     10 
     11 namespace android_webview {
     12 class AwURLRequestJobFactory;
     13 
     14 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
     15 CreateAndroidAssetFileProtocolHandler() {
     16   return CreateAssetFileProtocolHandler();
     17 }
     18 
     19 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
     20 CreateAndroidContentProtocolHandler() {
     21   return CreateContentSchemeProtocolHandler();
     22 }
     23 
     24 }  // namespace android_webview
     25