/external/chromium_org/components/search_engines/ |
D | template_url_unittest.cc | 514 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 515 search_terms_args.assisted_query_stats = test_data[i].aqs; in TEST_F() 517 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args, in TEST_F() 552 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 553 search_terms_args.cursor_position = test_data[i].cursor_position; in TEST_F() 554 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args, in TEST_F() 589 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local 590 search_terms_args.input_type = test_data[i].input_type; in TEST_F() 591 GURL result(url.url_ref().ReplaceSearchTerms(search_terms_args, in TEST_F() 626 TemplateURLRef::SearchTermsArgs search_terms_args(test_data[i].search_term); in TEST_F() local [all …]
|
D | template_url.cc | 342 const SearchTermsArgs& search_terms_args, in ReplaceSearchTerms() argument 349 std::string url(HandleReplacements(search_terms_args, search_terms_data, in ReplaceSearchTerms() 357 if (search_terms_args.append_extra_query_params) { in ReplaceSearchTerms() 364 if (!search_terms_args.suggest_query_params.empty()) in ReplaceSearchTerms() 365 query_params.push_back(search_terms_args.suggest_query_params); in ReplaceSearchTerms() 807 const SearchTermsArgs& search_terms_args, in HandleReplacements() argument 832 owner_->EncodeSearchTerms(search_terms_args, is_in_query, &input_encoding, in HandleReplacements() 848 if (!search_terms_args.assisted_query_stats.empty()) { in HandleReplacements() 853 SearchTermsArgs search_terms_args_without_aqs(search_terms_args); in HandleReplacements() 859 "aqs", search_terms_args.assisted_query_stats, *i, &url); in HandleReplacements() [all …]
|
D | template_url.h | 226 std::string ReplaceSearchTerms(const SearchTermsArgs& search_terms_args, 234 const SearchTermsArgs& search_terms_args, in ReplaceSearchTerms() argument 236 return ReplaceSearchTerms(search_terms_args, search_terms_data, NULL); in ReplaceSearchTerms() 412 const SearchTermsArgs& search_terms_args, 668 const TemplateURLRef::SearchTermsArgs& search_terms_args, 678 const TemplateURLRef::SearchTermsArgs& search_terms_args,
|
D | util.cc | 41 TemplateURLRef::SearchTermsArgs search_terms_args(terms); in GetDefaultSearchURLForSearchTerms() local 42 search_terms_args.append_extra_query_params = true; in GetDefaultSearchURLForSearchTerms() 43 return GURL(search_url.ReplaceSearchTerms(search_terms_args, in GetDefaultSearchURLForSearchTerms()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_controller.cc | 407 if (!match->search_terms_args.get() || in UpdateMatchDestinationURLWithQueryFormulationTime() 408 match->search_terms_args->assisted_query_stats.empty()) in UpdateMatchDestinationURLWithQueryFormulationTime() 414 TemplateURLRef::SearchTermsArgs search_terms_args(*match->search_terms_args); in UpdateMatchDestinationURLWithQueryFormulationTime() local 415 search_terms_args.assisted_query_stats += base::StringPrintf( in UpdateMatchDestinationURLWithQueryFormulationTime() 423 UpdateMatchDestinationURL(search_terms_args, match); in UpdateMatchDestinationURLWithQueryFormulationTime() 427 const TemplateURLRef::SearchTermsArgs& search_terms_args, in UpdateMatchDestinationURL() argument 435 search_terms_args, template_url_service_->search_terms_data())); in UpdateMatchDestinationURL() 632 if (!template_url || !match->search_terms_args.get()) in UpdateAssistedQueryStats() 638 match->search_terms_args->assisted_query_stats = in UpdateAssistedQueryStats() 643 *match->search_terms_args, template_url_service_->search_terms_data())); in UpdateAssistedQueryStats()
|
D | autocomplete_provider_unittest.cc | 77 const TemplateURLRef::SearchTermsArgs& search_terms_args); 132 const TemplateURLRef::SearchTermsArgs& search_terms_args) { in AddResultsWithSearchTermsArgs() argument 146 match.search_terms_args.reset( in AddResultsWithSearchTermsArgs() 147 new TemplateURLRef::SearchTermsArgs(search_terms_args)); in AddResultsWithSearchTermsArgs() 417 match.search_terms_args.reset( in RunAssistedQueryStatsTest() 430 result_.match_at(i)->search_terms_args->assisted_query_stats); in RunAssistedQueryStatsTest() 516 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 521 result_.match_at(i)->search_terms_args->assisted_query_stats.empty()); in TEST_F() 704 match.search_terms_args.reset( in TEST_F() 710 match.search_terms_args->assisted_query_stats = in TEST_F()
|
D | autocomplete_controller.h | 124 const TemplateURLRef::SearchTermsArgs& search_terms_args,
|
D | shortcuts_backend_unittest.cc | 94 match.search_terms_args.reset( in MatchCoreForTesting() 233 match.search_terms_args.reset( in TEST_F()
|
D | search_provider_unittest.cc | 2754 matches[j].search_terms_args->suggest_query_params); in TEST_F() 3091 ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); in TEST_F() 3092 EXPECT_FALSE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); in TEST_F() 3100 ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL); in TEST_F() 3101 EXPECT_TRUE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned); in TEST_F() 3352 TemplateURLRef::SearchTermsArgs search_terms_args(term); in TEST_F() local 3353 search_terms_args.session_token = provider_->current_token_; in TEST_F() 3355 search_terms_args, turl_model->search_terms_data())); in TEST_F()
|
D | shortcuts_backend.cc | 154 match.search_terms_args->search_terms, match_type, in MatchToMatchCore()
|
/external/chromium_org/components/omnibox/ |
D | base_search_provider.cc | 253 match.search_terms_args.reset( in CreateSearchSuggestion() 255 match.search_terms_args->original_query = input.text(); in CreateSearchSuggestion() 256 match.search_terms_args->accepted_suggestion = accepted_suggestion; in CreateSearchSuggestion() 257 match.search_terms_args->enable_omnibox_start_margin = true; in CreateSearchSuggestion() 258 match.search_terms_args->suggest_query_params = in CreateSearchSuggestion() 260 match.search_terms_args->append_extra_query_params = in CreateSearchSuggestion() 266 GURL(search_url.ReplaceSearchTerms(*match.search_terms_args.get(), in CreateSearchSuggestion() 363 match.search_terms_args->bookmark_bar_pinned = client_->ShowBookmarkBar(); in AddMatchToMap() 380 match.search_terms_args->suggest_query_params)); in AddMatchToMap()
|
D | autocomplete_match.cc | 89 search_terms_args(match.search_terms_args.get() ? in AutocompleteMatch() 90 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : in AutocompleteMatch() 126 search_terms_args.reset(match.search_terms_args.get() ? in operator =() 127 new TemplateURLRef::SearchTermsArgs(*match.search_terms_args) : NULL); in operator =()
|
D | keyword_provider.cc | 449 TemplateURLRef::SearchTermsArgs search_terms_args(remaining_input); in FillInURLAndContents() local 450 search_terms_args.append_extra_query_params = in FillInURLAndContents() 453 search_terms_args, GetTemplateURLService()->search_terms_data())); in FillInURLAndContents()
|
D | autocomplete_match.h | 364 scoped_ptr<TemplateURLRef::SearchTermsArgs> search_terms_args; member
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
D | omnibox_provider.cc | 76 if (match_.search_terms_args) { in OmniboxResult() 77 match_.search_terms_args->from_app_list = true; in OmniboxResult() 79 *match_.search_terms_args, &match_); in OmniboxResult()
|
/external/chromium_org/chrome/browser/search/ |
D | search.cc | 145 TemplateURLRef::SearchTermsArgs search_terms_args = in TemplateURLRefToGURL() local 147 search_terms_args.append_extra_query_params = append_extra_query_params; in TemplateURLRefToGURL() 148 search_terms_args.force_instant_results = force_instant_results; in TemplateURLRefToGURL() 149 return GURL(ref.ReplaceSearchTerms(search_terms_args, search_terms_data)); in TemplateURLRefToGURL()
|
D | search_unittest.cc | 778 TemplateURLRef::SearchTermsArgs search_terms_args(base::ASCIIToUTF16("foo")); in TEST_F() local 780 search_terms_args, UIThreadSearchTermsData(profile()))); in TEST_F() 790 TemplateURLRef::SearchTermsArgs search_terms_args(base::ASCIIToUTF16("foo")); in TEST_F() local 792 search_terms_args, UIThreadSearchTermsData(profile()))); in TEST_F()
|
/external/chromium_org/chrome/browser/android/provider/ |
D | chrome_browser_provider.cc | 905 TemplateURLRef::SearchTermsArgs search_terms_args(row->search_term()); in BuildSearchRow() local 906 search_terms_args.append_extra_query_params = true; in BuildSearchRow() 908 search_terms_args, template_service->search_terms_data()); in BuildSearchRow()
|