Rebecca Chang Swee Fun fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
..
public fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
tracked fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
DEPS fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
DIR_METADATA fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
OWNERS fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
README.md fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago

README.md

Preference Service User Guide

The Preference Service is no longer an independent service. The implementation was deleted: https://chromium-review.googlesource.com/c/chromium/src/+/1928248

Some legacy implementation is still available here to support current usage. It has not been moved to be with the rest of the related preference code in components/prefs.

What are Preferences?

Preferences, also known as «prefs», are key-value pairs stored by Chrome. Examples include the settings in chrome://settings, all per-extension metadata, the list of plugins and so on. Individual prefs are keyed by a string and have a type. E.g., the «browser.enable_spellchecking» pref stores a boolean indicating whether spell-checking is enabled.

The pref service persists prefs to disk and communicates updates to prefs between services, including Chrome itself. There is a pref service instance per profile (prefs are persisted on a per-profile basis).

Design

The original design doc is here:

https://docs.google.com/document/d/1JU8QUWxMEXWMqgkvFUumKSxr7Z-nfq0YvreSJTkMVmU/edit?usp=sharing