Chromium Code Reviews

Unified Diff: net/base/network_delegate_impl.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: add null checks for network_delegate() 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
Index: net/base/network_delegate_impl.cc
diff --git a/net/base/network_delegate_impl.cc b/net/base/network_delegate_impl.cc
index 52d4efccc8258e89a136baef8a4aa9c22d60fe0f..38b15ad6d887aa92b02da84506b2b0b783578a83 100644
--- a/net/base/network_delegate_impl.cc
+++ b/net/base/network_delegate_impl.cc
@@ -92,8 +92,10 @@ bool NetworkDelegateImpl::OnCanSetCookie(const URLRequest& request,
return true;
}
-bool NetworkDelegateImpl::OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const {
+bool NetworkDelegateImpl::OnCanAccessFile(
+ const URLRequest& request,
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {
return false;
}

Powered by Google App Engine