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

Unified Diff: net/url_request/url_request_context_builder.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: 2nd param Created 3 years, 9 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/url_request/file_protocol_handler.cc ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder.cc
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index f21b0f40b02fb192b4c105f8e0d850a156053e9f..9c52761de28e42c08f7ecb665a549b2a0d06f493 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -124,7 +124,8 @@ class BasicNetworkDelegate : public NetworkDelegateImpl {
}
bool OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const override {
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const override {
return true;
}
« no previous file with comments | « net/url_request/file_protocol_handler.cc ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698