Home
last modified time | relevance | path

Searched refs:SupportsReplacement (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/search_engines/
Dtemplate_url_parser_unittest.cc92 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
106 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
120 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
124 EXPECT_TRUE(template_url_.suggestions_url()->SupportsReplacement()); in TEST_F()
169 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
190 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
208 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
231 EXPECT_TRUE(template_url_.url()->SupportsReplacement()); in TEST_F()
Dtemplate_url_unittest.cc89 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
101 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
112 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
124 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
135 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
147 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
159 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
171 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
197 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
236 ASSERT_TRUE(ref.SupportsReplacement()); in TEST_F()
[all …]
Dtemplate_url.h60 bool SupportsReplacement() const;
290 static bool SupportsReplacement(const TemplateURL* turl);
Dtemplate_url.cc414 bool TemplateURLRef::SupportsReplacement() const { in SupportsReplacement() function in TemplateURLRef
574 bool TemplateURL::SupportsReplacement(const TemplateURL* turl) { in SupportsReplacement() function in TemplateURL
650 return show_in_default_list() && url() && url()->SupportsReplacement(); in ShowInDefaultList()
Dtemplate_url_fetcher.cc141 !template_url_->url() || !template_url_->url()->SupportsReplacement()) { in OnURLFetchComplete()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_parser_unittest.cc138 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
151 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
165 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
169 EXPECT_TRUE(template_url_->suggestions_url_ref().SupportsReplacement()); in TEST_F()
193 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
212 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
229 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
251 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement()); in TEST_F()
Dtemplate_url_unittest.cc102 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
115 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
127 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
139 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
151 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
163 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
201 ASSERT_FALSE(url.image_url_ref().SupportsReplacement()); in TEST_F()
299 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
311 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
337 ASSERT_TRUE(url.url_ref().SupportsReplacement()); in TEST_F()
[all …]
Dtemplate_url.h150 bool SupportsReplacement() const;
638 bool SupportsReplacement() const;
Dtemplate_url_service_android.cc149 default_provider->url_ref().SupportsReplacement() && !query.empty()) { in GetUrlForSearchQuery()
Dtemplate_url_fetcher.cc139 if (!template_url_.get() || !template_url_->url_ref().SupportsReplacement()) { in OnURLFetchComplete()
Dtemplate_url_service.cc450 if (!support_replacement_only || i->second->url_ref().SupportsReplacement()) in FindMatchingKeywords()
667 url->url_ref().SupportsReplacement() && in CanMakeDefault()
2537 if (turl_from_sync && turl_from_sync->SupportsReplacement()) { in SetDefaultSearchProviderIfNewlySynced()
2616 default_search_provider->SupportsReplacement())) { in AddTemplateURLsAndSetupDefaultEngine()
2660 default_search_provider_->SupportsReplacement(); in EnsureDefaultSearchProviderExists()
2716 (*i)->SupportsReplacement() && in FindExtensionDefaultSearchEngine()
Dtemplate_url.cc313 bool TemplateURLRef::SupportsReplacement() const { in SupportsReplacement() function in TemplateURLRef
1120 return data_.show_in_default_list && url_ref_.SupportsReplacement(); in ShowInDefaultList()
1123 bool TemplateURL::SupportsReplacement() const { in SupportsReplacement() function in TemplateURL
Dutil.cc51 DCHECK(search_url.SupportsReplacement()); in GetDefaultSearchURLForSearchTerms()
/external/chromium_org/chrome/browser/autocomplete/
Dkeyword_provider.cc154 if (template_url && template_url->SupportsReplacement()) { in GetSubstitutingTemplateURLForInput()
198 if (!template_url || !template_url->SupportsReplacement()) in GetKeywordForText()
297 if (template_url->SupportsReplacement() && remaining_input.empty() && in Start()
436 template_url->url_ref().SupportsReplacement(); in CreateAutocompleteMatch()
489 if (element_ref.SupportsReplacement() && in FillInURLAndContents()
511 DCHECK(element_ref.SupportsReplacement()); in FillInURLAndContents()
Dautocomplete_match.cc355 if (template_url != NULL && template_url->SupportsReplacement()) { in ComputeStrippedDestinationURL()
408 return (t_url && t_url->SupportsReplacement()) ? keyword : base::string16(); in GetSubstitutingExplicitlyInvokedKeyword()
Dzero_suggest_provider.cc399 if (default_provider == NULL || !default_provider->SupportsReplacement()) in ConvertResultsToAutocompleteMatches()
/external/chromium/chrome/browser/autocomplete/
Dkeyword_provider.cc125 return TemplateURL::SupportsReplacement(template_url) ? template_url : NULL; in GetSubstitutingTemplateURLForInput()
326 if (element->url()->SupportsReplacement() && in FillInURLAndContents()
348 DCHECK(element->url()->SupportsReplacement()); in FillInURLAndContents()
394 const bool supports_replacement = element->url()->SupportsReplacement(); in CreateAutocompleteMatch()
Dautocomplete_popup_model.cc134 if (TemplateURL::SupportsReplacement(match.template_url)) { in GetKeywordForMatch()
160 if (!TemplateURL::SupportsReplacement(template_url)) in GetKeywordForText()
Dsearch_provider.cc155 if (!TemplateURL::SupportsReplacement(default_provider)) in Start()
425 DCHECK(suggestions_url->SupportsReplacement()); in CreateSuggestFetcher()
823 DCHECK(search_url->SupportsReplacement()); in AddMatchToMap()
/external/chromium/chrome/browser/ui/search_engines/
Dedit_search_engine_controller.cc42 if (!template_ref.SupportsReplacement()) { in IsURLValid()
Dtemplate_url_table_model.cc276 !TemplateURL::SupportsReplacement(template_url)) { in ModifyTemplateURL()
/external/chromium/chrome/browser/importer/
Dprofile_writer.cc183 if (t_url->url()->SupportsReplacement()) { in BuildHostPathKey()
263 if (default_keyword && TemplateURL::SupportsReplacement(t_url)) in AddKeywords()
/external/chromium_org/chrome/browser/ui/search_engines/
Dedit_search_engine_controller.cc53 if (!template_ref.SupportsReplacement() && in IsURLValid()
Dtemplate_url_table_model.cc290 template_url->SupportsReplacement()); in ModifyTemplateURL()
/external/chromium_org/chrome/browser/importer/
Dprofile_writer.cc256 if (t_url->url_ref().SupportsReplacement()) { in BuildHostPathKey()

12