Commit 802702bb authored by Nate Fischer's avatar Nate Fischer Committed by Commit Bot

AW: explicitly configure ct_policy and ftp support

No change to behavior, this only re-applies default settings for the
sake of explicitly declaring our support.

This sets ct_policy and ftp_url_support to false.

R=changwan@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.android:android_mojo
Bug: 887538
Test: None
Change-Id: Ie05fbe7f64c2b599227223d76c697f2624d69c62
Reviewed-on: https://chromium-review.googlesource.com/c/1357630Reviewed-by: default avatarChangwan Ryu <changwan@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613210}
parent c9b9beaf
......@@ -272,6 +272,12 @@ network::mojom::NetworkContextPtr AwContentBrowserClient::CreateNetworkContext(
context_params->http_cache_max_size = 20 * 1024 * 1024; // 20M
context_params->http_cache_path = AwBrowserContext::GetCacheDir();
// WebView does not currently support Certificate Transparency.
context_params->enforce_chrome_ct_policy = false;
// WebView does not support ftp yet.
context_params->enable_ftp_url_support = false;
content::GetNetworkService()->CreateNetworkContext(
MakeRequest(&network_context), std::move(context_params));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment