/external/chromium_org/chrome/browser/search_engines/ |
D | template_url.cc | 325 const SearchTermsArgs& search_terms_args, in ReplaceSearchTerms() argument 328 return ReplaceSearchTermsUsingTermsData(search_terms_args, search_terms_data, in ReplaceSearchTerms() 333 const SearchTermsArgs& search_terms_args, in ReplaceSearchTermsUsingTermsData() argument 340 std::string url(HandleReplacements(search_terms_args, search_terms_data, in ReplaceSearchTermsUsingTermsData() 348 if (search_terms_args.append_extra_query_params) { in ReplaceSearchTermsUsingTermsData() 355 if (!search_terms_args.suggest_query_params.empty()) in ReplaceSearchTermsUsingTermsData() 356 query_params.push_back(search_terms_args.suggest_query_params); in ReplaceSearchTermsUsingTermsData() 789 const SearchTermsArgs& search_terms_args, in HandleReplacements() argument 814 owner_->EncodeSearchTerms(search_terms_args, is_in_query, &input_encoding, in HandleReplacements() 830 if (!search_terms_args.assisted_query_stats.empty()) { in HandleReplacements() [all …]
|
D | template_url_unittest.cc | 535 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 536 search_terms_args.assisted_query_stats = test_data[i].aqs; in TEST_F() 538 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args)); in TEST_F() 572 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 573 search_terms_args.cursor_position = test_data[i].cursor_position; in TEST_F() 574 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args)); in TEST_F() 608 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 609 search_terms_args.current_page_url = test_data[i].current_page_url; in TEST_F() 610 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args)); in TEST_F() 641 TemplateURLRef::SearchTermsArgs search_terms_args( in TEST_F() local [all …]
|
D | template_url.h | 165 const SearchTermsArgs& search_terms_args, 171 const SearchTermsArgs& search_terms_args) const { in ReplaceSearchTerms() argument 172 return ReplaceSearchTerms(search_terms_args, NULL); in ReplaceSearchTerms() 179 const SearchTermsArgs& search_terms_args, 360 const SearchTermsArgs& search_terms_args, 714 const TemplateURLRef::SearchTermsArgs& search_terms_args, 723 const TemplateURLRef::SearchTermsArgs& search_terms_args,
|
D | util.cc | 52 TemplateURLRef::SearchTermsArgs search_terms_args(terms); in GetDefaultSearchURLForSearchTerms() local 53 search_terms_args.append_extra_query_params = true; in GetDefaultSearchURLForSearchTerms() 54 return GURL(search_url.ReplaceSearchTerms(search_terms_args)); in GetDefaultSearchURLForSearchTerms()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_provider_unittest.cc | 73 const TemplateURLRef::SearchTermsArgs& search_terms_args); 126 const TemplateURLRef::SearchTermsArgs& search_terms_args) { in AddResultsWithSearchTermsArgs() argument 140 match.search_terms_args.reset( in AddResultsWithSearchTermsArgs() 141 new TemplateURLRef::SearchTermsArgs(search_terms_args)); in AddResultsWithSearchTermsArgs() 384 match.search_terms_args.reset( in RunAssistedQueryStatsTest() 397 result_.match_at(i)->search_terms_args->assisted_query_stats); in RunAssistedQueryStatsTest() 481 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 486 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 631 match.search_terms_args.reset( in TEST_F() 637 match.search_terms_args->assisted_query_stats = in TEST_F()
|
D | autocomplete_controller.cc | 406 if (!template_url || !match->search_terms_args.get() || in UpdateMatchDestinationURL() 407 match->search_terms_args->assisted_query_stats.empty()) in UpdateMatchDestinationURL() 413 TemplateURLRef::SearchTermsArgs search_terms_args(*match->search_terms_args); in UpdateMatchDestinationURL() local 414 search_terms_args.assisted_query_stats += base::StringPrintf( in UpdateMatchDestinationURL() 423 GURL(template_url->url_ref().ReplaceSearchTerms(search_terms_args)); in UpdateMatchDestinationURL() 601 if (!template_url || !match->search_terms_args.get()) in UpdateAssistedQueryStats() 607 match->search_terms_args->assisted_query_stats = in UpdateAssistedQueryStats() 612 *match->search_terms_args)); in UpdateAssistedQueryStats()
|
D | autocomplete_match.cc | 92 search_terms_args(match.search_terms_args.get() ? in AutocompleteMatch() 93 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : in AutocompleteMatch() 127 search_terms_args.reset(match.search_terms_args.get() ? in operator =() 128 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : NULL); in operator =()
|
D | search_provider.cc | 443 match.search_terms_args.reset( in CreateSearchSuggestion() 445 match.search_terms_args->original_query = input_text; in CreateSearchSuggestion() 446 match.search_terms_args->accepted_suggestion = accepted_suggestion; in CreateSearchSuggestion() 447 match.search_terms_args->omnibox_start_margin = omnibox_start_margin; in CreateSearchSuggestion() 448 match.search_terms_args->suggest_query_params = suggest_query_params; in CreateSearchSuggestion() 449 match.search_terms_args->append_extra_query_params = in CreateSearchSuggestion() 455 GURL(search_url.ReplaceSearchTerms(*match.search_terms_args.get())); in CreateSearchSuggestion() 1802 match.search_terms_args->bookmark_bar_pinned = in AddMatchToMap() 1826 match.search_terms_args->suggest_query_params)); in AddMatchToMap()
|
D | keyword_provider.cc | 512 TemplateURLRef::SearchTermsArgs search_terms_args(remaining_input); in FillInURLAndContents() local 513 search_terms_args.append_extra_query_params = in FillInURLAndContents() 516 GURL(element_ref.ReplaceSearchTerms(search_terms_args)); in FillInURLAndContents()
|
D | autocomplete_match.h | 334 scoped_ptr<TemplateURLRef::SearchTermsArgs> search_terms_args; member
|
D | search_provider_unittest.cc | 3527 matches[j].search_terms_args->suggest_query_params); in TEST_F() 3879 ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); in TEST_F() 3880 EXPECT_FALSE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); in TEST_F() 3888 ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); in TEST_F() 3889 EXPECT_TRUE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); in TEST_F()
|
/external/chromium_org/chrome/browser/search/ |
D | search.cc | 131 TemplateURLRef::SearchTermsArgs search_terms_args = in TemplateURLRefToGURL() local 133 search_terms_args.omnibox_start_margin = start_margin; in TemplateURLRefToGURL() 134 search_terms_args.append_extra_query_params = append_extra_query_params; in TemplateURLRefToGURL() 135 search_terms_args.force_instant_results = force_instant_results; in TemplateURLRefToGURL() 136 return GURL(ref.ReplaceSearchTerms(search_terms_args)); in TemplateURLRefToGURL()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 898 TemplateURLRef::SearchTermsArgs search_terms_args(row->search_term()); in BuildSearchRow() local 899 search_terms_args.append_extra_query_params = true; in BuildSearchRow() 900 std::string url = search_url->ReplaceSearchTerms(search_terms_args); in BuildSearchRow()
|