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

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: Fix the PostTask usage after rebase 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
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 40e842dca12717b8dc5a0b8b994866eb6230d33e..74ae300346337e2d3c3009beb5c893fd48c7dc17 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -125,7 +125,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;
}

Powered by Google App Engine
This is Rietveld 408576698