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

Unified Diff: net/url_request/url_request_context_builder.cc

Issue 10068021: Fix file access on Chrome for ChromeOS on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed clang problem Created 8 years, 8 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 7a3843162251d1ad69b5820f280b71933ce341dd..05fcd9a65bf8e6a142fbb83b7b3e2f1f94af684e 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -95,6 +95,11 @@ class BasicNetworkDelegate : public NetworkDelegate {
return true;
}
+ virtual bool CanAccessFile(const net::URLRequest* request,
+ const FilePath& path) OVERRIDE {
+ return true;
+ }
+
DISALLOW_COPY_AND_ASSIGN(BasicNetworkDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698