Home
last modified time | relevance | path

Searched refs:answer_json (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/components/omnibox/
Dsearch_suggestion_parser_unittest.cc43 const char answer_json[] = in TEST() local
46 SearchSuggestionParser::GetAnswersImageURLs(AsDictionary(answer_json).get(), in TEST()
Dsearch_suggestion_parser.cc457 const base::DictionaryValue* answer_json = NULL; in ParseSuggestResults() local
458 if (suggestion_detail->GetDictionary("ansa", &answer_json)) { in ParseSuggestResults()
460 GetAnswersImageURLs(answer_json, &results->answers_image_urls); in ParseSuggestResults()
462 base::JSONWriter::Write(answer_json, &contents); in ParseSuggestResults()
485 const base::DictionaryValue* answer_json, in GetAnswersImageURLs() argument
487 DCHECK(answer_json); in GetAnswersImageURLs()
490 if (!answer_json->GetList("l", &lines) || !lines || lines->GetSize() == 0) in GetAnswersImageURLs()
Dsearch_suggestion_parser.h303 static void GetAnswersImageURLs(const base::DictionaryValue* answer_json,