Commit 04057c5a authored by phillis's avatar phillis Committed by Commit Bot

PWA: add some doc about Policy and System apps

This adds a one liner for policy and system web apps to explain what
they are and used for.

Bug: none
Change-Id: I3d656b91789e013b7535aa58ed541dda43023675
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353524
Commit-Queue: Phillis Tang <phillis@chromium.org>
Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797914}
parent b97b2044
...@@ -22,9 +22,11 @@ class PrefRegistrySyncable; ...@@ -22,9 +22,11 @@ class PrefRegistrySyncable;
namespace web_app { namespace web_app {
// Tracks the policy that affects Web Apps and also tracks which Web Apps are // Policy installation allows enterprise admins to control and manage
// currently installed based on this policy. Based on these, it decides which // Web Apps on behalf of their managed users. This class tracks the policy that
// apps to install, uninstall, and update, via a PendingAppManager. // affects Web Apps and also tracks which Web Apps are currently installed based
// on this policy. Based on these, it decides which apps to install, uninstall,
// and update, via a PendingAppManager.
class WebAppPolicyManager { class WebAppPolicyManager {
public: public:
static constexpr char kInstallResultHistogramName[] = static constexpr char kInstallResultHistogramName[] =
......
...@@ -122,6 +122,8 @@ struct SystemAppInfo { ...@@ -122,6 +122,8 @@ struct SystemAppInfo {
}; };
// Installs, uninstalls, and updates System Web Apps. // Installs, uninstalls, and updates System Web Apps.
// System Web Apps are built-in, highly-privileged Web Apps for Chrome OS. They
// have access to more APIs and are part of the Chrome OS image.
class SystemWebAppManager { class SystemWebAppManager {
public: public:
// Policy for when the SystemWebAppManager will update apps/install new apps. // Policy for when the SystemWebAppManager will update apps/install new apps.
......
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