HomeSort by relevance Sort by last modified time
    Searched defs:template_urls (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/chrome/browser/search_engines/
search_host_to_urls_map_unittest.cc 37 std::vector<TemplateURL*> template_urls; local
38 template_urls.push_back(t_urls_[0].get());
39 template_urls.push_back(t_urls_[1].get());
43 provider_map_->Init(template_urls, search_terms_data);
template_url_service_android.cc 66 std::vector<TemplateURL*> template_urls = local
69 DCHECK_LT(selected_index_size_t, template_urls.size()) <<
72 TemplateURL* template_url = template_urls[selected_index_size_t];
80 std::vector<TemplateURL*> template_urls = local
84 for (size_t i = 0; i < template_urls.size(); ++i) {
85 if (default_search_provider == template_urls[i])
template_url_service.cc 113 const TemplateURLService::TemplateURLVector& template_urls) {
115 template_urls.begin()); i != template_urls.end(); ++i) {
216 const TemplateURLService::TemplateURLVector& template_urls) {
219 template_urls.begin(); it != template_urls.end(); ++it) {
805 TemplateURLVector template_urls; local
809 &template_urls, &default_search_provider, &new_resource_keyword_version,
812 AddTemplateURLsAndSetupDefaultEngine(&template_urls, default_search_provider);
    [all...]
  /external/chromium/chrome/browser/webdata/
keyword_table_unittest.cc 87 std::vector<TemplateURL*> template_urls; local
88 EXPECT_TRUE(db.GetKeywordTable()->GetKeywords(&template_urls));
90 EXPECT_EQ(1U, template_urls.size());
91 const TemplateURL* restored_url = template_urls.front();
129 template_urls.clear();
130 EXPECT_TRUE(db.GetKeywordTable()->GetKeywords(&template_urls));
132 EXPECT_EQ(0U, template_urls.size());
181 std::vector<TemplateURL*> template_urls; local
182 EXPECT_TRUE(db.GetKeywordTable()->GetKeywords(&template_urls));
184 EXPECT_EQ(1U, template_urls.size())
236 std::vector<TemplateURL*> template_urls; local
    [all...]
  /external/chromium/chrome/browser/search_engines/
search_host_to_urls_map_unittest.cc 42 std::vector<const TemplateURL*> template_urls; local
43 template_urls.push_back(&t_urls_[0]);
44 template_urls.push_back(&t_urls_[1]);
48 provider_map_->Init(template_urls, search_terms_data);
template_url_model.cc 56 std::vector<TemplateURL*>* template_urls,
58 DCHECK(template_urls);
60 for (std::vector<TemplateURL*>::iterator i = template_urls->begin();
61 i != template_urls->end(); ) {
67 i = template_urls->erase(i);
473 std::vector<TemplateURL*> template_urls; local
479 &template_urls,
487 RemoveProvidersCreatedByPolicy(&template_urls, &default_search_provider);
495 SetTemplateURLs(template_urls);
512 !template_urls.empty()
    [all...]
  /external/chromium_org/chrome/browser/importer/
profile_writer.cc 267 TemplateURLService::TemplateURLVector template_urls = local
269 for (size_t i = 0; i < template_urls.size(); ++i) {
270 const std::string host_path = BuildHostPathKey(template_urls[i], false);
274 (template_urls[i]->show_in_default_list() &&
280 (*host_path_map)[host_path] = template_urls[i];
287 void ProfileWriter::AddKeywords(ScopedVector<TemplateURL> template_urls,
295 for (ScopedVector<TemplateURL>::iterator i = template_urls.begin();
296 i != template_urls.end(); ++i) {
  /external/chromium/chrome/browser/importer/
profile_writer.cc 197 std::vector<const TemplateURL*> template_urls = model.GetTemplateURLs(); local
198 for (size_t i = 0; i < template_urls.size(); ++i) {
199 const std::string host_path = BuildHostPathKey(template_urls[i], false);
203 (template_urls[i]->show_in_default_list() &&
209 (*host_path_map)[host_path] = template_urls[i];
216 void ProfileWriter::AddKeywords(const std::vector<TemplateURL*>& template_urls,
224 for (std::vector<TemplateURL*>::const_iterator i = template_urls.begin();
225 i != template_urls.end(); ++i) {
229 (i - template_urls.begin() == default_keyword_index);
firefox2_importer.cc 155 std::vector<TemplateURL*>* template_urls,
234 if (template_urls) {
239 template_urls->push_back(t_url);
303 std::vector<TemplateURL*> template_urls; local
313 first_folder_name, this, &bookmarks, &template_urls,
325 if (!parsing_bookmarks_html_file_ && !template_urls.empty() &&
327 bridge_->SetKeywords(template_urls, -1, false);
329 STLDeleteContainerPointers(template_urls.begin(), template_urls.end());
firefox3_importer.cc 186 std::vector<TemplateURL*> template_urls; local
284 template_urls.push_back(t_url);
299 if (!template_urls.empty() && !cancelled()) {
300 bridge_->SetKeywords(template_urls, -1, false);
302 STLDeleteContainerPointers(template_urls.begin(), template_urls.end());
  /external/chromium/chrome/browser/ui/views/
first_run_search_engine_view.cc 206 std::vector<const TemplateURL*> template_urls = local
211 if (template_urls.size() < 2) {
223 // in template_urls, store it in |default_choice| and provide it as a
230 if (template_urls.size() > 3) {
231 for (search_engine_iter = template_urls.begin() + 3;
232 search_engine_iter != template_urls.end();
245 for (search_engine_iter = template_urls.begin();
246 search_engine_iter < template_urls.begin() +
247 (template_urls.size() < 3 ? 2 : 3);
  /external/chromium/chrome/browser/automation/
testing_automation_provider.cc 2879 std::vector<const TemplateURL*> template_urls = url_model->GetTemplateURLs(); local
    [all...]

Completed in 1022 milliseconds