summaryrefslogtreecommitdiffstats
path: root/components/user_prefs
Commit message (Collapse)AuthorAgeFilesLines
* Update uses of Value in chromeos/, cloud_print/, components/, content/ to ↵avi@chromium.org2013-12-231-25/+30
| | | | | | | | | | | | use the base:: namespace. BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/108603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242409 0039d316-1c4b-4281-b951-d872f2087c98
* Remove JsonPrefStore pruning of empty values on write.gab@chromium.org2013-11-271-0/+1
| | | | | | | | | | | | | Written from https://codereview.chromium.org/12092021 The entire source code was surveyed for existing list/dict prefs for which this change could be problematic, it doesn't look like anything is relying on this internal detail of the API, see this for details: https://docs.google.com/a/chromium.org/spreadsheet/ccc?key=0AtwXJ4IPPZBAdG9rX3RTc3k5Z1pyN3U4b3d4Tkota3c#gid=0 TBR=joth (for minor android_webview side-effects) BUG=323346 Review URL: https://codereview.chromium.org/81183005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237473 0039d316-1c4b-4281-b951-d872f2087c98
* components: Move user_prefs into user_prefs namespace.tfarina@chromium.org2013-06-112-4/+4
| | | | | | | | | BUG=245050 R=joth@chromium.org,thestig@chromium.org,joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/16625004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205517 0039d316-1c4b-4281-b951-d872f2087c98
* components: Move PrefRegistrySyncable into user_prefs namespace.tfarina@chromium.org2013-05-062-0/+8
| | | | | | | | | | BUG=180785 R=joi@chromium.org TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/14622003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198384 0039d316-1c4b-4281-b951-d872f2087c98
* [components] Switch {RefCounted}ProfileKeyedService to use BrowserContextphajdan.jr@chromium.org2013-04-261-0/+1
| | | | | | | | | | instead of Profile. This will help move it out of chrome. BUG=227219 Review URL: https://codereview.chromium.org/14141006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196777 0039d316-1c4b-4281-b951-d872f2087c98
* Convert string16 -> base::string16 in components/brettw@chromium.org2013-04-111-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/13973004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193682 0039d316-1c4b-4281-b951-d872f2087c98
* sync: Implementation of Priority Preferences.albertb@chromium.org2013-03-272-10/+19
| | | | | | | | | | | | | Priority preferences are similar to normal preferences but are never encrypted and are synced ahead of other datatypes. Because they're never encrypted, on first sync, they can be synced immediately after login, before the user is prompted for a passphrase. Expected uses of priority preferences include hardware setting (eg. trackpad speed, scroll direction, etc.) as well as settings that could be 2-way synced with existing Google Account settings (eg. language). BUG=168648 Review URL: https://chromiumcodereview.appspot.com/12033093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191047 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid the possibility of future conflict with another address-of-static due ↵joi@chromium.org2013-03-231-2/+4
| | | | | | | | | | to COMDAT folding. BUG=none Review URL: https://codereview.chromium.org/12529029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190035 0039d316-1c4b-4281-b951-d872f2087c98
* user_prefs: Fix trivial issues found in UserPrefs API.tfarina@chromium.org2013-03-082-9/+8
| | | | | | | | | | | | | | | - Fix typo: s/tof/to - Single-argument constructors should be marked explicit. - Remove unused scoped_ptr.h include from user_prefs.h - Reorder ctor/dtor implementations in the source file to match with the order declared in the header file. BUG=138280 TBR=joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/12638007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186959 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce //components/user_prefs.joi@chromium.org2013-03-068-0/+477
The user_prefs component provides: a) The UserPrefs class, used to map PrefService objects to BrowserContext. This addresses a TODO to get rid of PrefServiceFromBrowserContext from base/prefs/pref_service.h, where clearly a mention of a content class did not belong. b) A place for PrefRegistrySyncable to live, where it can be used by components that need to register prefs. We also use (b) in this change to eliminate Autofill's dependency on chrome/browser/prefs. Work is ongoing to move Autofill to //components/autofill. TBR=ben@chromium.org BUG=155525,140037 Review URL: https://chromiumcodereview.appspot.com/12340111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186301 0039d316-1c4b-4281-b951-d872f2087c98