Lines Matching full:pref
94 NOTREACHED() << "Trying to read an unregistered pref: " << path;
109 NOTREACHED() << "Trying to read an unregistered pref: " << path;
124 NOTREACHED() << "Trying to read an unregistered pref: " << path;
139 NOTREACHED() << "Trying to read an unregistered pref: " << path;
154 NOTREACHED() << "Trying to read an unregistered pref: " << path;
163 const Preference* pref = FindPreference(path);
164 return pref && !pref->IsDefaultValue();
227 const Preference* pref = FindPreference(pref_name);
228 return pref && pref->IsManaged();
232 const Preference* pref = FindPreference(pref_name);
233 return pref && pref->IsUserModifiable();
242 NOTREACHED() << "Trying to read an unregistered pref: " << path;
255 const Preference* pref = FindPreference(path);
256 if (!pref) {
257 NOTREACHED() << "Trying to get an unregistered pref: " << path;
267 if (!value->IsType(pref->GetType())) {
268 NOTREACHED() << "Pref value type doesn't match registered type.";
286 NOTREACHED() << "Default value missing for pref: " << path;
297 NOTREACHED() << "Trying to read an unregistered pref: " << path;
326 const Preference* pref = FindPreference(path);
327 if (!pref) {
328 NOTREACHED() << "Trying to clear an unregistered pref: " << path;
368 NOTREACHED() << "Trying to read an unregistered pref: " << path;
390 NOTREACHED() << "Trying to read an unregistered pref: " << path;
407 const Preference* pref = FindPreference(path);
408 if (!pref) {
409 NOTREACHED() << "Trying to get an unregistered pref: " << path;
412 if (pref->GetType() != type) {
442 const Preference* pref = FindPreference(path);
443 if (!pref) {
444 NOTREACHED() << "Trying to write an unregistered pref: " << path;
447 if (pref->GetType() != new_value->GetType()) {
448 NOTREACHED() << "Trying to set pref " << path
449 << " of type " << pref->GetType()
484 DCHECK(result) << "Must register pref before getting its value";
490 "Must register pref before getting its value";
498 // The pref has no recommended value.
550 NOTREACHED() << "no valid value found for registered pref " << path;