| 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..88ef313520f928fd05818b962026e802df7095ad 100644
|
| --- a/chrome/browser/net/chrome_network_delegate.cc
|
| +++ b/chrome/browser/net/chrome_network_delegate.cc
|
| @@ -35,7 +35,6 @@
|
| #include "chrome/browser/net/safe_search_util.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/task_manager/task_manager_interface.h"
|
| -#include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/features.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/content_settings/core/browser/cookie_settings.h"
|
| @@ -515,15 +514,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);
|
| - if (offline_page_archives.IsParent(path))
|
| - return true;
|
| - }
|
| -
|
| // Whitelist of other allowed directories.
|
| static const char* const kLocalAccessWhiteList[] = {
|
| "/sdcard",
|
|
|