/external/chromium/chrome/browser/search_engines/ |
H A D | 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 39 RemoveDuplicatePrepopulateIDs( std::vector<TemplateURL*>* template_urls, WebDataService* service) argument 67 MergeEnginesFromPrepopulateData( PrefService* prefs, WebDataService* service, std::vector<TemplateURL*>* template_urls, const TemplateURL** default_search_provider) argument 151 GetSearchProvidersUsingKeywordResult( const WDTypedResult& result, WebDataService* service, PrefService* prefs, std::vector<TemplateURL*>* template_urls, const TemplateURL** default_search_provider, int* new_resource_keyword_version) argument [all...] |
H A D | 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,
|
H A D | search_host_to_urls_map.h | 30 void Init(const std::vector<const TemplateURL*>& template_urls,
|
H A D | 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);
|
H A D | 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); 19 Init( const std::vector<const TemplateURL*>& template_urls, const SearchTermsData& search_terms_data) argument
|
H A D | 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 55 RemoveProvidersCreatedByPolicy( std::vector<TemplateURL*>* template_urls, const TemplateURL** default_search_provider) argument [all...] |
H A D | template_url.h | 480 std::vector<TemplateURL*>* template_urls,
|
/external/chromium/chrome/browser/webdata/ |
H A D | 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 236 std::vector<TemplateURL*> template_urls; local [all...] |
/external/chromium/chrome/browser/importer/ |
H A D | external_process_importer_bridge.cc | 59 const std::vector<TemplateURL*>& template_urls, 63 template_urls, default_keyword_index, unique_on_host_and_path); 58 SetKeywords( const std::vector<TemplateURL*>& template_urls, int default_keyword_index, bool unique_on_host_and_path) argument
|
H A D | 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, argument 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);
|
H A D | 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(); 225 OnKeywordsImportReady( const std::vector<TemplateURL>& template_urls, int default_keyword_index, bool unique_on_host_and_path) argument
|
H A D | importer_unittest.cc | 617 virtual void AddKeywords(const std::vector<TemplateURL*>& template_urls, argument 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, argument [all...] |
H A D | in_process_importer_bridge.cc | 67 const std::vector<TemplateURL*>& template_urls, 73 writer_, &ProfileWriter::AddKeywords, template_urls, 66 SetKeywords( const std::vector<TemplateURL*>& template_urls, int default_keyword_index, bool unique_on_host_and_path) argument
|
H A D | external_process_importer_bridge.h | 50 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
H A D | importer_bridge.h | 42 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
H A D | in_process_importer_bridge.h | 44 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
|
H A D | profile_import_process_client.h | 74 const std::vector<TemplateURL>& template_urls,
|
H A D | 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,
|
H A D | 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()); 148 ImportBookmarksFile( const FilePath& file_path, const std::set<GURL>& default_urls, bool import_to_bookmark_bar, const string16& first_folder_name, Importer* importer, std::vector<ProfileWriter::BookmarkEntry>* bookmarks, std::vector<TemplateURL*>* template_urls, std::vector<history::ImportedFaviconUsage>* favicons) argument
|
H A D | profile_import_process_client.cc | 74 const std::vector<TemplateURL>& template_urls, 73 OnKeywordsImportReady( const std::vector<TemplateURL>& template_urls, int default_keyword_index, bool unique_on_host_and_path) argument
|
H A D | 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());
|
H A D | external_process_importer_client.h | 108 const std::vector<TemplateURL>& template_urls,
|
H A D | firefox2_importer.h | 43 // Imports the bookmarks from the specified file. |template_urls| and 53 std::vector<TemplateURL*>* template_urls,
|
/external/chromium/chrome/browser/ui/views/ |
H A D | 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/ |
H A D | testing_automation_provider.cc | 2879 std::vector<const TemplateURL*> template_urls = url_model->GetTemplateURLs(); local 2881 template_urls.begin(); it != template_urls.end(); ++it) {
|