Home
last modified time | relevance | path

Searched refs:search_terms_data (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium/chrome/browser/search_engines/
Dtemplate_url.cc193 UIThreadSearchTermsData search_terms_data; in ParseIfNecessary() local
194 ParseIfNecessaryUsingTermsData(search_terms_data); in ParseIfNecessary()
198 const SearchTermsData& search_terms_data) const { in ParseIfNecessaryUsingTermsData()
220 ParseHostAndSearchTermKey(search_terms_data); in ParseIfNecessaryUsingTermsData()
226 const SearchTermsData& search_terms_data) const { in ParseHostAndSearchTermKey()
230 search_terms_data.GoogleBaseURLValue()); in ParseHostAndSearchTermKey()
233 search_terms_data.GoogleBaseSuggestURLValue()); in ParseHostAndSearchTermKey()
272 UIThreadSearchTermsData search_terms_data; in ReplaceSearchTerms() local
277 search_terms_data); in ReplaceSearchTerms()
285 const SearchTermsData& search_terms_data) const { in ReplaceSearchTermsUsingTermsData()
[all …]
Dsearch_host_to_urls_map_unittest.cc47 UIThreadSearchTermsData search_terms_data; in SetUp() local
48 provider_map_->Init(template_urls, search_terms_data); in SetUp()
55 UIThreadSearchTermsData search_terms_data; in TEST_F() local
56 provider_map_->Add(&new_t_url, search_terms_data); in TEST_F()
84 UIThreadSearchTermsData search_terms_data; in TEST_F() local
85 provider_map_->Update(&t_urls_[0], new_values, search_terms_data); in TEST_F()
92 UIThreadSearchTermsData search_terms_data; in TEST_F() local
99 provider_map_->Add(&new_t_url, search_terms_data); in TEST_F()
105 provider_map_->UpdateGoogleBaseURLs(search_terms_data); in TEST_F()
Dsearch_host_to_urls_map.cc21 const SearchTermsData& search_terms_data) { in Init() argument
28 Add(template_urls[i], search_terms_data); in Init()
32 const SearchTermsData& search_terms_data) { in Add() argument
37 template_url, search_terms_data)); in Add()
65 const SearchTermsData& search_terms_data) { in Update() argument
77 Add(existing_turl, search_terms_data); in Update()
81 const SearchTermsData& search_terms_data) { in UpdateGoogleBaseURLs() argument
104 Add(t_urls_using_base_url[i], search_terms_data); in UpdateGoogleBaseURLs()
Dsearch_provider_install_data.cc153 const SearchTermsData& search_terms_data) { in IsSameOrigin() argument
158 search_terms_data).GetOrigin(); in IsSameOrigin()
220 IOThreadSearchTermsData search_terms_data(google_base_url_); in GetInstallState() local
224 if (IsSameOrigin(requested_origin, template_url, search_terms_data)) in GetInstallState()
263 IOThreadSearchTermsData search_terms_data(google_base_url_); in OnWebDataServiceRequestDone() local
265 provider_map_->Init(template_urls_.get(), search_terms_data); in OnWebDataServiceRequestDone()
278 IOThreadSearchTermsData search_terms_data(google_base_url_); in SetDefault() local
280 template_url, search_terms_data)); in SetDefault()
292 IOThreadSearchTermsData search_terms_data(google_base_url_); in OnLoadFailed() local
293 provider_map_->Init(template_urls_.get(), search_terms_data); in OnLoadFailed()
Dsearch_host_to_urls_map.h31 const SearchTermsData& search_terms_data);
36 const SearchTermsData& search_terms_data);
46 const SearchTermsData& search_terms_data);
49 void UpdateGoogleBaseURLs(const SearchTermsData& search_terms_data);
Dtemplate_url.h64 const SearchTermsData& search_terms_data) const;
87 const SearchTermsData& search_terms_data) const;
103 bool IsValidUsingTermsData(const SearchTermsData& search_terms_data) const;
212 const SearchTermsData& search_terms_data) const;
216 const SearchTermsData& search_terms_data) const;
295 const SearchTermsData& search_terms_data);
Dtemplate_url_prepopulate_data_unittest.cc134 UIThreadSearchTermsData search_terms_data; in TEST_F() local
150 urls[turl_i], search_terms_data); in TEST_F()
166 found_url.get(), search_terms_data).GetOrigin(), in TEST_F()
Dtemplate_url_model.cc189 UIThreadSearchTermsData search_terms_data; in GenerateSearchURL() local
190 return GenerateSearchURLUsingTermsData(t_url, search_terms_data); in GenerateSearchURL()
196 const SearchTermsData& search_terms_data) { in GenerateSearchURLUsingTermsData() argument
200 if (!search_ref || !search_ref->IsValidUsingTermsData(search_terms_data) || in GenerateSearchURLUsingTermsData()
204 if (!search_ref->SupportsReplacementUsingTermsData(search_terms_data)) in GenerateSearchURLUsingTermsData()
210 string16(), search_terms_data)); in GenerateSearchURLUsingTermsData()
709 UIThreadSearchTermsData search_terms_data; in AddToMaps() local
710 provider_map_.Add(template_url, search_terms_data); in AddToMaps()
742 UIThreadSearchTermsData search_terms_data; in ChangeToLoadedState() local
743 provider_map_.Init(template_urls_, search_terms_data); in ChangeToLoadedState()
[all …]
Dtemplate_url_unittest.cc50 TestSearchTermsData search_terms_data(base_url); in CheckSuggestBaseURL() local
52 search_terms_data.GoogleBaseSuggestURLValue().c_str()); in CheckSuggestBaseURL()
190 TestSearchTermsData search_terms_data("http://example.com/e/"); in TEST_F() local
201 search_terms_data)); in TEST_F()
Dtemplate_url_model_unittest.cc43 explicit TestGenerateSearchURL(SearchTermsData* search_terms_data) in TestGenerateSearchURL() argument
44 : search_terms_data_(search_terms_data), in TestGenerateSearchURL()
479 TestSearchTermsData search_terms_data("http://google.com/"); in TEST_F() local
481 new TestGenerateSearchURL(&search_terms_data)); in TEST_F()
Dtemplate_url_model.h97 const SearchTermsData& search_terms_data);
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url.cc275 const SearchTermsData* search_terms_data) const { in UsesPOSTMethodUsingTermsData()
276 if (search_terms_data) in UsesPOSTMethodUsingTermsData()
277 ParseIfNecessaryUsingTermsData(*search_terms_data); in UsesPOSTMethodUsingTermsData()
314 UIThreadSearchTermsData search_terms_data(owner_->profile()); in SupportsReplacement() local
315 return SupportsReplacementUsingTermsData(search_terms_data); in SupportsReplacement()
319 const SearchTermsData& search_terms_data) const { in SupportsReplacementUsingTermsData()
320 ParseIfNecessaryUsingTermsData(search_terms_data); in SupportsReplacementUsingTermsData()
327 UIThreadSearchTermsData search_terms_data(owner_->profile()); in ReplaceSearchTerms() local
328 return ReplaceSearchTermsUsingTermsData(search_terms_args, search_terms_data, in ReplaceSearchTerms()
334 const SearchTermsData& search_terms_data, in ReplaceSearchTermsUsingTermsData() argument
[all …]
Dsearch_host_to_urls_map.cc20 const SearchTermsData& search_terms_data) { in Init() argument
23 Add(template_urls, search_terms_data); in Init()
27 const SearchTermsData& search_terms_data) { in Add() argument
32 template_url, search_terms_data)); in Add()
40 const SearchTermsData& search_terms_data) { in Remove() argument
45 template_url, search_terms_data)); in Remove()
82 const SearchTermsData& search_terms_data) { in Add() argument
85 Add(*i, search_terms_data); in Add()
Dsearch_provider_install_data.cc149 const SearchTermsData& search_terms_data) { in IsSameOrigin() argument
154 search_terms_data).GetOrigin(); in IsSameOrigin()
214 IOThreadSearchTermsData search_terms_data(google_base_url_); in GetInstallState() local
217 if (IsSameOrigin(requested_origin, *i, search_terms_data)) in GetInstallState()
253 IOThreadSearchTermsData search_terms_data(google_base_url_); in OnWebDataServiceRequestDone() local
255 provider_map_->Init(template_urls_.get(), search_terms_data); in OnWebDataServiceRequestDone()
270 IOThreadSearchTermsData search_terms_data(google_base_url_); in SetDefault() local
272 template_url, search_terms_data)); in SetDefault()
284 IOThreadSearchTermsData search_terms_data(google_base_url_); in OnLoadFailed() local
285 provider_map_->Init(template_urls_.get(), search_terms_data); in OnLoadFailed()
Dsearch_host_to_urls_map.h27 const SearchTermsData& search_terms_data);
32 const SearchTermsData& search_terms_data);
36 const SearchTermsData& search_terms_data);
53 const SearchTermsData& search_terms_data);
Dsearch_host_to_urls_map_unittest.cc42 UIThreadSearchTermsData search_terms_data(NULL); in SetUp() local
43 provider_map_->Init(template_urls, search_terms_data); in SetUp()
51 UIThreadSearchTermsData search_terms_data(NULL); in TEST_F() local
52 provider_map_->Add(&new_t_url, search_terms_data); in TEST_F()
58 UIThreadSearchTermsData search_terms_data(NULL); in TEST_F() local
59 provider_map_->Remove(t_urls_[0].get(), search_terms_data); in TEST_F()
Dtemplate_url.h154 const SearchTermsData& search_terms_data) const;
180 const SearchTermsData& search_terms_data,
188 bool IsValidUsingTermsData(const SearchTermsData& search_terms_data) const;
225 const SearchTermsData& search_terms_data,
231 const SearchTermsData* search_terms_data) const;
335 const SearchTermsData& search_terms_data) const;
339 const SearchTermsData& search_terms_data) const;
361 const SearchTermsData& search_terms_data,
642 const SearchTermsData& search_terms_data) const;
687 const SearchTermsData& search_terms_data);
[all …]
Dtemplate_url_service.cc372 UIThreadSearchTermsData search_terms_data(t_url->profile()); in GenerateSearchURL() local
373 return GenerateSearchURLUsingTermsData(t_url, search_terms_data); in GenerateSearchURL()
379 const SearchTermsData& search_terms_data) { in GenerateSearchURLUsingTermsData() argument
383 if (!search_ref.IsValidUsingTermsData(search_terms_data)) in GenerateSearchURLUsingTermsData()
386 if (!search_ref.SupportsReplacementUsingTermsData(search_terms_data)) in GenerateSearchURLUsingTermsData()
396 search_terms_data, NULL)); in GenerateSearchURLUsingTermsData()
658 UIThreadSearchTermsData search_terms_data(url->profile()); in ResetTemplateURL() local
659 if (UpdateNoNotify(url, new_url, search_terms_data)) in ResetTemplateURL()
758 UIThreadSearchTermsData search_terms_data(profile()); in RepairPrepopulatedSearchEngines() local
760 UpdateNoNotify(i->first, new_values, search_terms_data); in RepairPrepopulatedSearchEngines()
[all …]
Dtemplate_url_parser.cc307 scoped_ptr<SearchTermsData> search_terms_data(profile ? in GetTemplateURL() local
310 !template_url->url_ref().IsValidUsingTermsData(*search_terms_data) || in GetTemplateURL()
313 IsValidUsingTermsData(*search_terms_data))) { in GetTemplateURL()
Ddefault_search_policy_handler.cc301 SearchTermsData search_terms_data; in DefaultSearchURLIsValid() local
303 search_terms_data); in DefaultSearchURLIsValid()
Dtemplate_url_unittest.cc60 TestSearchTermsData search_terms_data(base_url); in CheckSuggestBaseURL() local
61 EXPECT_EQ(base_suggest_url, search_terms_data.GoogleBaseSuggestURLValue()); in CheckSuggestBaseURL()
214 TestSearchTermsData search_terms_data("http://X"); in TEST_F() local
216 search_args, search_terms_data, &post_content)); in TEST_F()
330 TestSearchTermsData search_terms_data("http://example.com/e/"); in TEST_F() local
339 TemplateURLRef::SearchTermsArgs(value.terms), search_terms_data, NULL)); in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider.cc202 explicit SearchTermsDataSnapshot(const SearchTermsData& search_terms_data);
227 const SearchTermsData& search_terms_data) in SearchTermsDataSnapshot() argument
228 : google_base_url_value_(search_terms_data.GoogleBaseURLValue()), in SearchTermsDataSnapshot()
229 application_locale_(search_terms_data.GetApplicationLocale()), in SearchTermsDataSnapshot()
230 rlz_parameter_value_(search_terms_data.GetRlzParameterValue()), in SearchTermsDataSnapshot()
231 search_client_(search_terms_data.GetSearchClient()), in SearchTermsDataSnapshot()
233 search_terms_data.ForceInstantResultsParam(false)), in SearchTermsDataSnapshot()
235 search_terms_data.InstantExtendedEnabledParam()), in SearchTermsDataSnapshot()
236 ntp_is_themed_param_(search_terms_data.NTPIsThemedParam()) {} in SearchTermsDataSnapshot()
345 const SearchTermsData& search_terms_data) in HistoryURLProviderParams() argument
[all …]
Dhistory_url_provider.h96 const SearchTermsData& search_terms_data);
146 scoped_ptr<SearchTermsData> search_terms_data; member
/external/chromium_org/chrome/browser/ui/android/tab_model/
Dtab_model.cc94 UIThreadSearchTermsData search_terms_data(profile_); in GetQueryExtractionParam() local
95 return search_terms_data.InstantExtendedEnabledParam(); in GetQueryExtractionParam()
/external/chromium_org/chrome/browser/webdata/
DDEPS39 "!chrome/browser/search_engines/search_terms_data.h",

12