Lines Matching defs:contents
57 const DictionaryValue* contents =
59 return contents ? contents->size() : 0;
66 const DictionaryValue* contents =
68 if (!contents)
71 for (DictionaryValue::key_iterator it = contents->begin_keys();
72 it != contents->end_keys(); ++it) {
74 bool found = contents->GetWithoutPathExpansion(*it, &value);
90 DictionaryValue* contents = update.Get();
92 for (DictionaryValue::key_iterator it = contents->begin_keys();
93 it != contents->end_keys(); ++it) {
94 contents->SetWithoutPathExpansion(*it, Value::CreateBooleanValue(true));
188 // 2) Walk the set of currently loaded extensions and background contents, and
199 DictionaryValue* contents = update.Get();
200 for (DictionaryValue::key_iterator it = contents->begin_keys();
201 it != contents->end_keys(); ++it) {
216 contents->RemoveWithoutPathExpansion(*iter, NULL);
219 // Look for new extensions/background contents.
227 if (!contents->HasKey((*iter)->id())) {
228 contents->SetWithoutPathExpansion(
235 // Add all apps with background contents also.
246 if (!contents->HasKey(application_id)) {
247 contents->SetWithoutPathExpansion(
271 DictionaryValue* contents = update.Get();
273 if (contents->HasKey(id))
277 contents->SetWithoutPathExpansion(id, Value::CreateBooleanValue(false));
286 DictionaryValue* contents = update.Get();
288 if (!contents->HasKey(id))
291 contents->RemoveWithoutPathExpansion(id, NULL);