diff --git a/brightray/browser/network_delegate.cc b/brightray/browser/network_delegate.cc index aca32af16b33..da7c56a738d8 100644 --- a/brightray/browser/network_delegate.cc +++ b/brightray/browser/network_delegate.cc @@ -123,8 +123,10 @@ bool NetworkDelegate::OnCanSetCookie(const net::URLRequest& request, return true; } -bool NetworkDelegate::OnCanAccessFile(const net::URLRequest& request, - const base::FilePath& path) const { +bool NetworkDelegate::OnCanAccessFile( + const net::URLRequest& request, + const base::FilePath& original_path, + const base::FilePath& absolute_path) const { return true; } diff --git a/brightray/browser/network_delegate.h b/brightray/browser/network_delegate.h index 6f9e13e2ea48..fb0eeada7e88 100644 --- a/brightray/browser/network_delegate.h +++ b/brightray/browser/network_delegate.h @@ -58,7 +58,8 @@ class NetworkDelegate : public net::NetworkDelegate { const std::string& cookie_line, net::CookieOptions* options) override; bool OnCanAccessFile(const net::URLRequest& request, - const base::FilePath& path) const override; + const base::FilePath& original_path, + const base::FilePath& absolute_path) const override; bool OnCanEnablePrivacyMode( const GURL& url, const GURL& first_party_for_cookies) const override;