Home | History | Annotate | Download | only in prefs

Lines Matching refs:Preference

39   // A helper class to store all the information associated with a preference.
40 class Preference {
43 // The type of the preference is determined by the type with which it is
47 Preference(const PrefService* service,
50 ~Preference() {}
52 // Returns the name of the Preference (i.e., the key, e.g.,
56 // Returns the registered type of the preference.
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);
129 // applicable PrefStores. The |pref_filename| points to the user preference
158 // Returns true if the preference for the given preference name is available
207 // Note that |path| must point to a registered preference. In that case, these
243 // Returns a dictionary with effective preference values. The ownership
247 // A helper method to quickly look up a preference. Returns NULL if the
248 // preference is not registered.
249 const Preference* FindPreference(const char* pref_name) const;
267 // The PrefNotifier handles registering and notifying preference observers.
275 bool operator() (Preference* lhs, Preference* rhs) const {
279 typedef std::set<Preference*, PreferencePathComparator> PreferenceSet;
300 // Sends notification of a changed preference. This needs to be called by
311 // Registers a new preference at |path|. The |default_value| must not be
312 // NULL as it determines the preference value's type.
330 // |path| must point to a registered preference of type |type|.
334 // The PrefValueStore provides prioritized preference values. It is created
342 // Local cache of registered Preference objects. The default_store_