0
Files
src/ash/constants
Xiqi Ruan dcf0508732 Reland "demomode: Delete user created files between shopper sessions"
This is a reland of commit 7166891c62
Fixed MSAN tests.

Original change's description:
> demomode: Delete user created files between shopper sessions
>
> Delete all files under 'MyFiles' and reset demo media data when device
> is idle, which is the end of one shopper session.
>
> Bug: 396731490
> Change-Id: Ic9a2f69f33261661dc771a980f036f14580cf1b0
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6292333
> Reviewed-by: Li Lin <llin@chromium.org>
> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
> Commit-Queue: Xiqi Ruan <xiqiruan@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1433918}

Bug: 396731490
Change-Id: I4ffbb58603780b538a2f0b2e9db1083be623775a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6367236
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Commit-Queue: Xiqi Ruan <xiqiruan@chromium.org>
Reviewed-by: Li Lin <llin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1437951}
2025-03-25 23:16:28 -07:00
..

ash/constants

This directory contains constants used by Chrome OS. It is a very low-level component and should only depend on //base. It should not contain any logic, except for simple helper functions like IsFooEnabled(). For example, while it can contain pref names, it should not do pref registration, because pref registration requires a dependency on //components.

It lives in //ash because these constants are used by Chrome OS system UI as well as the current/legacy built-in chrome browser. This is "ash-chrome" in the terminology of the Lacros project.

Code in this directory used to live in //chromeos/constants. That directory is being re-purposed for constants shared between the lacros-chrome browser and the ash-chrome system UI binary. Both those binaries run on Chrome OS.