Searched refs:answer_contents (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/components/omnibox/
H A Dbase_search_provider_unittest.cc125 base::string16 answer_contents = base::ASCIIToUTF16("some answer content"); local
143 base::string16(), answer_contents, answer_type, std::string(),
154 EXPECT_EQ(answer_contents, match.answer_contents);
159 EXPECT_EQ(answer_contents, duplicate.answer_contents);
182 EXPECT_EQ(answer_contents2, match.answer_contents);
187 EXPECT_EQ(answer_contents, duplicate.answer_contents);
H A Dbase_search_provider.cc209 match.answer_contents = suggestion.answer_contents();
432 more_relevant_match.answer_contents = less_relevant_match.answer_contents;
H A Dsearch_suggestion_parser.h119 const base::string16& answer_contents,
139 const base::string16& answer_contents() const { return answer_contents_; } function in class:SearchSuggestionParser::SuggestResult
H A Dsearch_suggestion_parser.cc66 const base::string16& answer_contents,
84 answer_contents_(answer_contents),
441 base::string16 answer_contents; local
463 answer_contents = base::UTF8ToUTF16(contents);
474 match_contents_prefix, annotation, answer_contents, answer_type, local
60 SuggestResult( const base::string16& suggestion, AutocompleteMatchType::Type type, const base::string16& match_contents, const base::string16& match_contents_prefix, const base::string16& annotation, const base::string16& answer_contents, const base::string16& answer_type, const std::string& suggest_query_params, const std::string& deletion_url, bool from_keyword_provider, int relevance, bool relevance_from_server, bool should_prefetch, const base::string16& input_text) argument
H A Dsearch_provider.cc824 base::string16 answer_contents; local
828 if (!it->answer_contents.empty() &&
830 answer_contents = it->answer_contents;
838 trimmed_verbatim, base::string16(), base::string16(), answer_contents,
944 if (!it->answer_contents.empty()) {
948 it->answer_contents.clear();
1410 if (match->answer_contents.empty() && result.size() > 1)
1412 if (match->answer_contents.empty() || match->answer_type.empty() ||
H A Dautocomplete_match.cc80 answer_contents(match.answer_contents),
117 answer_contents = match.answer_contents;
H A Dautocomplete_match.h321 base::string16 answer_contents; member in struct:AutocompleteMatch
/external/chromium_org/chrome/browser/android/omnibox/
H A Dautocomplete_controller_android.cc441 ScopedJavaLocalRef<jstring> answer_contents = local
442 ConvertUTF16ToJavaString(env, match.answer_contents);
460 answer_contents.obj(),
/external/chromium_org/chrome/browser/autocomplete/
H A Dsearch_provider_unittest.cc3398 match1.answer_contents = base::ASCIIToUTF16("m1");
3433 match1.answer_contents = base::ASCIIToUTF16("the answer");
3435 match3.answer_contents = base::ASCIIToUTF16("not to play");
3437 match5.answer_contents = base::ASCIIToUTF16("a man");
3447 EXPECT_EQ(base::ASCIIToUTF16("the answer"), matches[0].answer_contents);
3449 EXPECT_TRUE(matches[1].answer_contents.empty());
3451 EXPECT_TRUE(matches[2].answer_contents.empty());
3453 EXPECT_TRUE(matches[3].answer_contents.empty());
3455 EXPECT_TRUE(matches[4].answer_contents.empty());

Completed in 4674 milliseconds