Commit 455e608c authored by Andrey Lushnikov's avatar Andrey Lushnikov Committed by Commit Bot

Headless: enable disk cache for default profile

Start using disk cache directory for default headless profile.

Bug: 882431
Change-Id: I1790a58fa2da6cb0fd114897d082e289d7a01bc5
Reviewed-on: https://chromium-review.googlesource.com/c/1350881Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611230}
parent dda449a4
......@@ -415,6 +415,8 @@ HeadlessRequestContextManager::CreateNetworkContextParams() {
user_data_path_.Append(FILE_PATH_LITERAL("Cookies"));
context_params->channel_id_path =
user_data_path_.Append(FILE_PATH_LITERAL("Origin Bound Certs"));
context_params->http_cache_path =
user_data_path_.Append(FILE_PATH_LITERAL("Cache"));
}
if (proxy_config_) {
context_params->initial_proxy_config = net::ProxyConfigWithAnnotation(
......
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