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

Unified Diff: net/base/layered_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/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/layered_network_delegate.cc
diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
index 41c22c162c3165291399dead7c0beeee0ea98fd3..4718c4b21f2614738ee16369186bccdf237704dd 100644
--- a/net/base/layered_network_delegate.cc
+++ b/net/base/layered_network_delegate.cc
@@ -203,16 +203,19 @@ void LayeredNetworkDelegate::OnCanSetCookieInternal(
CookieOptions* options) {
}
-bool LayeredNetworkDelegate::OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const {
- OnCanAccessFileInternal(request, path);
- return nested_network_delegate_->CanAccessFile(request, path);
+bool LayeredNetworkDelegate::OnCanAccessFile(
+ const URLRequest& request,
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {
+ OnCanAccessFileInternal(request, original_path, absolute_path);
+ return nested_network_delegate_->CanAccessFile(request, original_path,
+ absolute_path);
}
void LayeredNetworkDelegate::OnCanAccessFileInternal(
const URLRequest& request,
- const base::FilePath& path) const {
-}
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {}
bool LayeredNetworkDelegate::OnCanEnablePrivacyMode(
const GURL& url,
« no previous file with comments | « net/base/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698