Index: mojo/shell/network_delegate.cc |
diff --git a/mojo/shell/network_delegate.cc b/mojo/shell/network_delegate.cc |
index e27d1adc7179470490ac17f00f7747c6f13c9e45..30054d30c0982e4d59ec0c67823ddf8713654e59 100644 |
--- a/mojo/shell/network_delegate.cc |
+++ b/mojo/shell/network_delegate.cc |
@@ -4,8 +4,6 @@ |
#include "mojo/shell/network_delegate.h" |
-#include "base/command_line.h" |
-#include "mojo/shell/switches.h" |
#include "net/url_request/url_request.h" |
namespace mojo { |
@@ -17,10 +15,8 @@ NetworkDelegate::NetworkDelegate() { |
bool NetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
const base::FilePath& path) const { |
- // TODO(aa): We might want to add a --allow-file-urls or something, but |
- // starting conservative. |
- return CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switches::kApp) |
- == request.url().spec(); |
+ // TODO(davemoore): Implement. |
+ return true; |
} |
} // namespace shell |