Hi everyone,
I’m working on a task where I would need to use the PrefService to store some data and I was wondering if there was some guidance or guideline related to adding a new pref. More specifically my questions are:
Hi everyone,
I’m working on a task where I would need to use the PrefService to store some data and I was wondering if there was some guidance or guideline related to adding a new pref. More specifically my questions are:
- The code would live under /content/browser/media but I’ve noticed there is currently no reference to PrefService under the /content directory. Was that a conscious decision?
- I’ve read the Preference Service User Guide but looking through codesearch it looks like most places that use the preference service are not creating their own PrefServices and instead are using static functions to register their preferences (ex.). Are there guidelines on when you should create your own PrefService vs using an existing one?
Thanks,- Alex--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7aa5ed3e-07ab-4dc7-9137-a03af39e1982n%40chromium.org.
Awesome, the new README is super helpful, thanks!Follow up question: how easy it is for a user to modify the pref file itself?
Is there such a thing as a 'secure' pref store?