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

Unified Diff: extensions/shell/browser/shell_network_delegate.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 | « extensions/shell/browser/shell_network_delegate.h ('k') | headless/lib/browser/headless_network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_network_delegate.cc
diff --git a/extensions/shell/browser/shell_network_delegate.cc b/extensions/shell/browser/shell_network_delegate.cc
index b1c17380c436613fce44b1dd5a57bfd6a63cc191..fd1ed156378d2c85052680eadb0190f6d0479ba9 100644
--- a/extensions/shell/browser/shell_network_delegate.cc
+++ b/extensions/shell/browser/shell_network_delegate.cc
@@ -109,6 +109,13 @@ void ShellNetworkDelegate::OnPACScriptError(
const base::string16& error) {
}
+bool ShellNetworkDelegate::OnCanAccessFile(
+ const net::URLRequest& request,
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const {
+ return true;
+}
+
net::NetworkDelegate::AuthRequiredResponse
ShellNetworkDelegate::OnAuthRequired(
net::URLRequest* request,
« no previous file with comments | « extensions/shell/browser/shell_network_delegate.h ('k') | headless/lib/browser/headless_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698