Lines Matching defs:Preference
61 class BASE_PREFS_EXPORT Preference {
67 Preference(const PrefService* service,
70 ~Preference() {}
72 // Returns the name of the Preference (i.e., the key, e.g.,
79 // Returns the value of the Preference, falling back to the registered
86 // Returns true if the Preference is managed, i.e. set by an admin policy.
91 // Returns true if the Preference is recommended, i.e. set by an admin
95 // Returns true if the Preference has a value set by an extension, even if
99 // Returns true if the Preference has a user setting, even if that value is
103 // Returns true if the Preference value is currently being controlled by an
107 // Returns true if the Preference value is currently being controlled by a
111 // Returns true if the Preference is currently using its default value,
116 // Returns true if the user can change the Preference value, which is the
118 // Preference.
121 // Returns true if an extension can change the Preference value, which is
123 // the Preference.
167 const PrefService::Preference* FindPreference(const char* path) const;
295 // vs. std::map, and by roughly 180ms vs. std::set of Preference pointers.
296 typedef base::hash_map<std::string, Preference> PreferenceMap;
346 // not need to find or create a Preference object to get the
351 // Local cache of registered Preference objects. The pref_registry_