Home | History | Annotate | Download | only in extensions

Lines Matching defs:pref

262     DictionaryValue* pref;
266 EXPECT_TRUE(prefs_->GetDictionary(id, &pref))
273 if (pref) {
299 DictionaryValue* pref;
303 EXPECT_TRUE(prefs_->GetDictionary(id, &pref))
307 if (pref) {
717 DictionaryValue* pref = NULL;
718 ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg;
719 EXPECT_TRUE(pref != NULL) << msg;
721 ASSERT_TRUE(pref->GetBoolean(pref_path, &val)) << msg;
730 DictionaryValue* pref = NULL;
731 if (!dict->GetDictionary(extension_id, &pref)) {
734 if (pref == NULL) {
738 if (!pref->GetBoolean(pref_path, &val)) {
758 DictionaryValue* pref = NULL;
759 ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg;
760 EXPECT_TRUE(pref != NULL) << msg;
762 ASSERT_TRUE(pref->GetInteger(pref_path, &val)) << msg;
779 DictionaryValue* pref = NULL;
781 ASSERT_TRUE(dict->GetDictionary(manifest_path, &pref)) << msg;
782 EXPECT_TRUE(pref != NULL) << msg;
784 ASSERT_TRUE(pref->GetString(pref_path, &val)) << msg;
795 DictionaryValue* pref = NULL;
796 ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg;
797 EXPECT_TRUE(pref != NULL) << msg;
798 pref->Set(pref_path, value);
833 DictionaryValue* pref = NULL;
834 ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg;
835 EXPECT_TRUE(pref != NULL) << msg;
836 pref->Remove(pref_path, NULL);
1059 // Simulate that one of them got partially deleted by clearing its pref.
1469 // migrating from the old pref schema.
2305 // Test pref settings for blacklist and unblacklist extensions.
2313 // Make sure pref is updated
2319 // invalid_id should not be inserted to pref.
2348 // Make sure pref is updated
2358 // Make sure pref is updated
2370 // Make sure pref is updated
2400 // Make sure pref is updated
2463 { // Scope for pref update notification.
2876 // the pref entry).
3231 // Test that we get enabled/disabled correctly for all the pref/command-line
3258 // If either the command line or pref is set, we are disabled.