Commit a8dd236d authored by Junbo Ke's avatar Junbo Ke Committed by Commit Bot

[Chromecast] Disable http cache for Cast.

Http cache was disabled before the network service migration because
there was no significant benefit. Disable now in the network service path.

Bug: b/144224349
Test: TBD
Change-Id: If6ce53548d13e9ba16ad92e075217f4673089e69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918720Reviewed-by: default avatarLuke Halliwell (slow) <halliwell@chromium.org>
Commit-Queue: Junbo Ke <juke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715581}
parent e833a34c
...@@ -202,6 +202,7 @@ CastNetworkContexts::CreateDefaultNetworkContextParams() { ...@@ -202,6 +202,7 @@ CastNetworkContexts::CreateDefaultNetworkContextParams() {
network::mojom::NetworkContextParamsPtr network_context_params = network::mojom::NetworkContextParamsPtr network_context_params =
network::mojom::NetworkContextParams::New(); network::mojom::NetworkContextParams::New();
network_context_params->http_cache_enabled = false;
network_context_params->user_agent = GetUserAgent(); network_context_params->user_agent = GetUserAgent();
network_context_params->accept_language = network_context_params->accept_language =
CastHttpUserAgentSettings::AcceptLanguage(); CastHttpUserAgentSettings::AcceptLanguage();
......
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