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: disable checks in sub classes Created 3 years, 8 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
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;
}

Powered by Google App Engine