Lines Matching refs:DictionaryValue
124 virtual DictionaryValue* Get() {
125 DictionaryValue* dict = DictionaryPrefUpdate::Get();
126 DictionaryValue* extension = NULL;
129 extension = new DictionaryValue();
149 virtual DictionaryValue* Get() {
150 DictionaryValue* dict = DictionaryPrefUpdate::Get();
151 DictionaryValue* preferences = NULL;
154 preferences = new DictionaryValue;
173 const DictionaryValue* dictionary =
176 for (DictionaryValue::key_iterator i = dictionary->begin_keys();
178 DictionaryValue* ext;
210 DictionaryValue* update_dictionary = update.Get();
275 const DictionaryValue* dict = prefs_->GetDictionary(kExtensionsPref);
281 for (DictionaryValue::key_iterator i = dict->begin_keys();
283 DictionaryValue* extension_dict = NULL;
304 const DictionaryValue* update_dict = update.Get();
307 DictionaryValue* extension_dict = NULL;
318 void ExtensionPrefs::MakePathsAbsolute(DictionaryValue* dict) {
322 for (DictionaryValue::key_iterator i = dict->begin_keys();
324 DictionaryValue* extension_dict = NULL;
347 DictionaryValue* ExtensionPrefs::CopyCurrentExtensions() {
348 const DictionaryValue* extensions = prefs_->GetDictionary(kExtensionsPref);
350 DictionaryValue* copy = extensions->DeepCopy();
354 return new DictionaryValue;
358 const DictionaryValue* ext, const std::string& pref_key) {
368 const DictionaryValue* ext = GetExtensionPref(extension_id);
377 const DictionaryValue* ext, const std::string& pref_key, int* out_value) {
387 const DictionaryValue* ext = GetExtensionPref(extension_id);
398 const DictionaryValue* ext = GetExtensionPref(extension_id);
452 bool ExtensionPrefs::IsBlacklistBitSet(DictionaryValue* ext) {
517 const DictionaryValue* extensions = prefs_->GetDictionary(kExtensionsPref);
520 for (DictionaryValue::key_iterator extension_id = extensions->begin_keys();
522 DictionaryValue* ext;
571 void SaveTime(DictionaryValue* dictionary, const char* key, const Time& time) {
580 Time ReadTime(const DictionaryValue* dictionary, const char* key) {
630 const DictionaryValue* dictionary = GetExtensionPref(extension_id);
650 const DictionaryValue* ext = GetExtensionPref(extension_id);
738 const DictionaryValue* ext = GetExtensionPref(extension_id);
827 const DictionaryValue* extension = GetExtensionPref(id);
866 DictionaryValue* extension_dict = update.Get();
876 extension_dict->Set(kPrefPreferences, new DictionaryValue());
914 const DictionaryValue* extension = GetExtensionPref(extension_id);
941 const DictionaryValue* extension_prefs = GetExtensionPref(extension->id());
967 const DictionaryValue* extension = GetExtensionPref(extension_id);
982 const DictionaryValue* extension_dict = GetExtensionPref(extension->id());
985 DictionaryValue* old_manifest = NULL;
998 const DictionaryValue* dict = prefs_->GetDictionary(kExtensionsPref);
1017 DictionaryValue* extension = update.Get();
1023 DictionaryValue* dict = update.Get();
1031 const DictionaryValue* ExtensionPrefs::GetExtensionPref(
1033 const DictionaryValue* dict = prefs_->GetDictionary(kExtensionsPref);
1036 DictionaryValue* extension = NULL;
1043 DictionaryValue* extension_data,
1044 DictionaryValue::key_iterator extension_id) {
1045 DictionaryValue* ext;
1092 DictionaryValue* manifest = NULL;
1103 scoped_ptr<DictionaryValue> extension_data(CopyCurrentExtensions());
1107 for (DictionaryValue::key_iterator extension_id(
1124 scoped_ptr<DictionaryValue> extension_data(CopyCurrentExtensions());
1126 for (DictionaryValue::key_iterator extension_iter(
1143 DictionaryValue* extension_prefs = update.Get();
1149 DictionaryValue* info = new DictionaryValue();
1162 DictionaryValue* extension_prefs = update.Get();
1172 const DictionaryValue* extension_prefs = GetExtensionPref(extension_id);
1178 DictionaryValue* info = NULL;
1213 const DictionaryValue* extensions = prefs_->GetDictionary(kExtensionsPref);
1217 for (DictionaryValue::key_iterator iter = extensions->begin_keys();
1225 const DictionaryValue* extension_prefs = GetExtensionPref(id);
1265 const DictionaryValue* extensions = prefs_->GetDictionary(kExtensionsPref);
1270 for (DictionaryValue::key_iterator extension_id = extensions->begin_keys();
1306 const DictionaryValue* dictionary = GetExtensionPref(extension_id);
1322 DictionaryValue* dictionary = update.Get();
1335 DictionaryValue* dictionary = update.Get();
1341 const DictionaryValue* dictionary = GetExtensionPref(extension_id);
1356 const DictionaryValue* extension = GetExtensionPref(extension_id);
1394 DictionaryValue* extension = update.Get();
1405 const DictionaryValue* ExtensionPrefs::GetExtensionControlledPrefs(
1408 DictionaryValue* preferences = NULL;
1411 const DictionaryValue* source_dict = prefs_->GetDictionary(kExtensionsPref);
1418 update.Get()->Set(key, new DictionaryValue);
1420 const DictionaryValue* source_dict = prefs_->GetDictionary(kExtensionsPref);
1434 const DictionaryValue* source_dict = prefs_->GetDictionary(kExtensionsPref);
1439 update.Get()->Set(key, new DictionaryValue);
1454 const DictionaryValue* prefs = GetExtensionControlledPrefs(*ext_id);
1455 for (DictionaryValue::key_iterator i = prefs->begin_keys();
1486 DictionaryValue* dict = update.Get();
1507 DictionaryValue* dict = update.Get();