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

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: 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. 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 90c240bc066c782bb82749cbe6cd03ad6ed61c05..ac7c47568fa478493b3341324cb152cecfbb1eb6 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;
}

Powered by Google App Engine
This is Rietveld 408576698