blob: 4078c1d5e9b6d69da0b4d0eedc8da67e05a17063 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/web_view/internal/web_view_network_delegate.h"
#include "net/base/net_errors.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
namespace ios_web_view {
WebViewNetworkDelegate::WebViewNetworkDelegate() {}
WebViewNetworkDelegate::~WebViewNetworkDelegate() = default;
bool WebViewNetworkDelegate::OnCanAccessFile(
const net::URLRequest& request,
const base::FilePath& original_path,
const base::FilePath& absolute_path) const {
return true;
} // namespace ios_web_view