Index: chromecast/browser/cast_network_delegate.cc |
diff --git a/chromecast/browser/cast_network_delegate.cc b/chromecast/browser/cast_network_delegate.cc |
index 3e004a0a53934403e3944e9070613a925c058a86..3be211f596f5b412af864f7c41dcbc7bf207ede9 100644 |
--- a/chromecast/browser/cast_network_delegate.cc |
+++ b/chromecast/browser/cast_network_delegate.cc |
@@ -18,14 +18,16 @@ CastNetworkDelegate::CastNetworkDelegate() { |
CastNetworkDelegate::~CastNetworkDelegate() { |
} |
-bool CastNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
- const base::FilePath& path) const { |
+bool CastNetworkDelegate::OnCanAccessFile( |
+ const net::URLRequest& request, |
+ const base::FilePath& original_path, |
+ const base::FilePath& absolute_path) const { |
if (base::CommandLine::ForCurrentProcess()-> |
HasSwitch(switches::kEnableLocalFileAccesses)) { |
return true; |
} |
- LOG(WARNING) << "Could not access file " << path.value() |
+ LOG(WARNING) << "Could not access file " << original_path.value() |
<< ". All file accesses are forbidden."; |
return false; |
} |