Lines Matching defs:Preference
40 class Preference {
47 Preference(const PrefService* service,
50 ~Preference() {}
52 // Returns the name of the Preference (i.e., the key, e.g.,
59 // Returns the value of the Preference, falling back to the registered
63 // Returns true if the Preference is managed, i.e. set by an admin policy.
68 // Returns true if the Preference has a value set by an extension, even if
72 // Returns true if the Preference has a user setting, even if that value is
76 // Returns true if the Preference value is currently being controlled by an
80 // Returns true if the Preference value is currently being controlled by a
84 // Returns true if the Preference is currently using its default value,
89 // Returns true if the user can change the Preference value, which is the
91 // Preference.
94 // Returns true if an extension can change the Preference value, which is
96 // the Preference.
113 DISALLOW_COPY_AND_ASSIGN(Preference);
249 const Preference* FindPreference(const char* pref_name) const;
275 bool operator() (Preference* lhs, Preference* rhs) const {
279 typedef std::set<Preference*, PreferencePathComparator> PreferenceSet;
342 // Local cache of registered Preference objects. The default_store_