Lines Matching defs:provider_map_
29 scoped_ptr<SearchHostToURLsMap> provider_map_;
46 provider_map_.reset(new SearchHostToURLsMap);
48 provider_map_->Init(template_urls, search_terms_data);
56 provider_map_->Add(&new_t_url, search_terms_data);
58 ASSERT_EQ(&new_t_url, provider_map_->GetTemplateURLForHost(new_host));
62 provider_map_->Remove(&t_urls_[0]);
64 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_);
67 const TemplateURLSet* urls = provider_map_->GetURLsForHost(host_);
85 provider_map_->Update(&t_urls_[0], new_values, search_terms_data);
87 ASSERT_EQ(&t_urls_[0], provider_map_->GetTemplateURLForHost(new_host));
88 ASSERT_EQ(&t_urls_[1], provider_map_->GetTemplateURLForHost(host_));
99 provider_map_->Add(&new_t_url, search_terms_data);
100 ASSERT_EQ(&new_t_url, provider_map_->GetTemplateURLForHost(google_base_url));
105 provider_map_->UpdateGoogleBaseURLs(search_terms_data);
106 ASSERT_EQ(&new_t_url, provider_map_->GetTemplateURLForHost(
111 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(host_);
116 const TemplateURL* found_url = provider_map_->GetTemplateURLForHost(
122 const TemplateURLSet* urls = provider_map_->GetURLsForHost(host_);
143 const TemplateURLSet* urls = provider_map_->GetURLsForHost("a" + host_);