Chromium Code Reviews| Index: chrome/browser/net/chrome_network_delegate.cc |
| diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc |
| index 550c96de6aed0f2917e4bc0dc6dc38847ff7059b..8825dd06c36f8714fa47174bb68d4d370c54b91c 100644 |
| --- a/chrome/browser/net/chrome_network_delegate.cc |
| +++ b/chrome/browser/net/chrome_network_delegate.cc |
| @@ -515,15 +515,6 @@ bool ChromeNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
| if (external_storage_path.IsParent(path)) |
| return true; |
| - // Allow to load offline pages, which are stored in the $PROFILE_PATH/Offline |
| - // Pages/archives. |
| - if (!profile_path_.empty()) { |
| - const base::FilePath offline_page_archives = |
| - profile_path_.Append(chrome::kOfflinePageArchivesDirname); |
|
mmenke
2016/10/06 15:28:31
Do we still need the chrome/common/chrome_constant
jianli
2016/10/06 22:31:33
Done.
|
| - if (offline_page_archives.IsParent(path)) |
| - return true; |
| - } |
| - |
| // Whitelist of other allowed directories. |
| static const char* const kLocalAccessWhiteList[] = { |
| "/sdcard", |