fix: enable_file_url_support and enable_data_url_support have been
removed Unsure how the change in default of file_url_support affects us Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
This commit is contained in:
parent
f95de3d6f3
commit
ab92cfd174
2 changed files with 0 additions and 4 deletions
|
@ -249,8 +249,6 @@ SystemNetworkContextManager::CreateNetworkContextParams() {
|
||||||
|
|
||||||
network_context_params->http_cache_enabled = false;
|
network_context_params->http_cache_enabled = false;
|
||||||
|
|
||||||
if (!base::FeatureList::IsEnabled(network::features::kNetworkService))
|
|
||||||
network_context_params->enable_file_url_support = true;
|
|
||||||
#if !BUILDFLAG(DISABLE_FTP_SUPPORT)
|
#if !BUILDFLAG(DISABLE_FTP_SUPPORT)
|
||||||
network_context_params->enable_ftp_url_support = true;
|
network_context_params->enable_ftp_url_support = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -156,8 +156,6 @@ URLRequestContextGetter::Handle::CreateNetworkContextParams() {
|
||||||
net::HttpUtil::GenerateAcceptLanguageHeader(
|
net::HttpUtil::GenerateAcceptLanguageHeader(
|
||||||
AtomBrowserClient::Get()->GetApplicationLocale());
|
AtomBrowserClient::Get()->GetApplicationLocale());
|
||||||
|
|
||||||
network_context_params->enable_data_url_support = false;
|
|
||||||
|
|
||||||
if (!browser_context_->IsOffTheRecord()) {
|
if (!browser_context_->IsOffTheRecord()) {
|
||||||
auto base_path = browser_context_->GetPath();
|
auto base_path = browser_context_->GetPath();
|
||||||
network_context_params->http_cache_path =
|
network_context_params->http_cache_path =
|
||||||
|
|
Loading…
Reference in a new issue