/external/chromium/chrome/browser/search_engines/ |
util.cc | 40 std::vector<TemplateURL*>* template_urls, 42 DCHECK(template_urls); 46 for (std::vector<TemplateURL*>::iterator i = template_urls->begin(); 47 i != template_urls->end(); ) { 54 i = template_urls->erase(i); 70 std::vector<TemplateURL*>* template_urls, 73 DCHECK(template_urls); 79 for (std::vector<TemplateURL*>::iterator i(template_urls->begin()); 80 i != template_urls->end(); ++i) { 124 template_urls->push_back(prepopulated_url.release()) [all...] |
util.h | 26 // * a set of template_urls (search providers). The caller owns the 27 // TemplateURL* returned in template_urls. 29 // it is contained in template_urls). 39 std::vector<TemplateURL*>* template_urls,
|
search_host_to_urls_map.h | 30 void Init(const std::vector<const TemplateURL*>& template_urls,
|
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);
|
search_host_to_urls_map.cc | 20 const std::vector<const TemplateURL*>& template_urls, 27 for (size_t i = 0; i < template_urls.size(); ++i) 28 Add(template_urls[i], 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...] |
template_url.h | 480 std::vector<TemplateURL*>* template_urls,
|
/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/importer/ |
external_process_importer_bridge.cc | 59 const std::vector<TemplateURL*>& template_urls, 63 template_urls, default_keyword_index, unique_on_host_and_path);
|
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);
|
external_process_importer_client.cc | 226 const std::vector<TemplateURL>& template_urls, 232 template_url_vec.reserve(template_urls.size()); 234 for (iter = template_urls.begin(); 235 iter != template_urls.end();
|
importer_bridge.h | 42 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
importer_unittest.cc | 617 virtual void AddKeywords(const std::vector<TemplateURL*>& template_urls, 620 for (size_t i = 0; i < template_urls.size(); ++i) { 624 string16 keyword = template_urls[i]->keyword(); 626 if (template_urls[i]->keyword() == 628 EXPECT_EQ(kFirefox2Keywords[j].url, template_urls[i]->url()->url()); 638 EXPECT_LT(default_keyword_index, static_cast<int>(template_urls.size())); 639 TemplateURL* default_turl = template_urls[default_keyword_index]; 644 STLDeleteContainerPointers(template_urls.begin(), template_urls.end()); 827 void AddKeywords(const std::vector<TemplateURL*>& template_urls, [all...] |
in_process_importer_bridge.cc | 67 const std::vector<TemplateURL*>& template_urls, 73 writer_, &ProfileWriter::AddKeywords, template_urls,
|
external_process_importer_bridge.h | 50 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
in_process_importer_bridge.h | 44 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
profile_import_process_client.h | 74 const std::vector<TemplateURL>& template_urls,
|
profile_writer.h | 100 // Add the TemplateURLs in |template_urls| to the local store and make the 103 // TemplateURLs. Some TemplateURLs in |template_urls| may conflict (same 106 // duplicate in |template_urls| are deleted. 111 virtual void AddKeywords(const std::vector<TemplateURL*>& template_urls,
|
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());
|
external_process_importer_client.h | 108 const std::vector<TemplateURL>& template_urls,
|
firefox2_importer.h | 43 // Imports the bookmarks from the specified file. |template_urls| and 53 std::vector<TemplateURL*>* template_urls,
|
profile_import_process_client.cc | 74 const std::vector<TemplateURL>& template_urls,
|
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...] |