Chromium Code Reviews

Unified Diff: ios/web_view/internal/web_view_network_delegate.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: remove dcheck Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « ios/web_view/internal/web_view_network_delegate.h ('k') | net/base/directory_lister.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/web_view_network_delegate.cc
diff --git a/ios/web_view/internal/web_view_network_delegate.cc b/ios/web_view/internal/web_view_network_delegate.cc
index 761aa7b7a510c2356c8e86a33e0e42c7a077aee0..d8753437ef82f77f05b4da99edd1b6e9b38ed153 100644
--- a/ios/web_view/internal/web_view_network_delegate.cc
+++ b/ios/web_view/internal/web_view_network_delegate.cc
@@ -75,8 +75,10 @@ bool WebViewNetworkDelegate::OnCanSetCookie(const net::URLRequest& request,
return true;
}
-bool WebViewNetworkDelegate::OnCanAccessFile(const net::URLRequest& request,
- const base::FilePath& path) const {
+bool WebViewNetworkDelegate::OnCanAccessFile(
+ const net::URLRequest& request,
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {
return true;
}
« no previous file with comments | « ios/web_view/internal/web_view_network_delegate.h ('k') | net/base/directory_lister.h » ('j') | no next file with comments »

Powered by Google App Engine