Skip to content
Commit 3d32fe55 authored by Wez's avatar Wez Committed by Chromium LUCI CQ
Browse files

[fuchsia] Recreate web.Context if persisted cache is erased.

CastRunner's main web.Context is supplied with persistent web profile
and CDM data directories backed by isolated cache storage.  If the cache
is erased then the directories must therefore be re-created, and the
web.Context restarted.

Since there is no explicit notification when the cache is erased, a
sentinel file is created alongside the directories, and its existence
checked-for whenever a new component is to be launched.

Bug: 1188780
Bug: b/181713070
Change-Id: I9280c9b0abc6f4239c7832f1c754a3eb51820f19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2775937


Commit-Queue: Wez <wez@chromium.org>
Commit-Queue: David Dorwin <ddorwin@chromium.org>
Auto-Submit: Wez <wez@chromium.org>
Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#864889}
parent e87f5c3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment