Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: net/base/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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 6344e4ddfd1b5164d4f3d76925eec9cac6802518..a40f7d6d7b9dd5a7592ccf2974895ebb2abde23a 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -159,9 +159,10 @@ bool NetworkDelegate::CanSetCookie(const URLRequest& request,
}
bool NetworkDelegate::CanAccessFile(const URLRequest& request,
- const base::FilePath& path) const {
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {
DCHECK(CalledOnValidThread());
- return OnCanAccessFile(request, path);
+ return OnCanAccessFile(request, original_path, absolute_path);
}
bool NetworkDelegate::CanEnablePrivacyMode(
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698