/external/chromium_org/chrome/browser/search_engines/ |
H A D | 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);
|
H A D | search_host_to_urls_map.cc | 19 const TemplateURLService::TemplateURLVector& template_urls, 23 Add(template_urls, search_terms_data); 81 const TemplateURLService::TemplateURLVector& template_urls, 84 template_urls.begin()); i != template_urls.end(); ++i) 18 Init( const TemplateURLService::TemplateURLVector& template_urls, const SearchTermsData& search_terms_data) argument 80 Add( const TemplateURLService::TemplateURLVector& template_urls, const SearchTermsData& search_terms_data) argument
|
H A D | 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])
|
H A D | util.cc | 61 TemplateURLService::TemplateURLVector* template_urls, 64 DCHECK(template_urls); 73 // Separate |template_urls| into prepopulated and non-prepopulated groups. 78 template_urls->begin()); i != template_urls->end(); ++i) { 136 template_urls->swap(checked_urls); 142 const TemplateURLService::TemplateURLVector& template_urls, 145 template_urls.begin()); i != template_urls.end(); ++i) { 177 TemplateURLService::TemplateURLVector* template_urls, 57 RemoveDuplicatePrepopulateIDs( WebDataService* service, const ScopedVector<TemplateURL>& prepopulated_urls, TemplateURL* default_search_provider, TemplateURLService::TemplateURLVector* template_urls, std::set<std::string>* removed_keyword_guids) argument 141 GetTemplateURLByID( const TemplateURLService::TemplateURLVector& template_urls, int64 id) argument 172 MergeEnginesFromPrepopulateData( Profile* profile, WebDataService* service, ScopedVector<TemplateURL>* prepopulated_urls, size_t default_search_index, TemplateURLService::TemplateURLVector* template_urls, TemplateURL** default_search_provider, std::set<std::string>* removed_keyword_guids) argument 264 GetSearchProvidersUsingKeywordResult( const WDTypedResult& result, WebDataService* service, Profile* profile, TemplateURLService::TemplateURLVector* template_urls, TemplateURL** default_search_provider, int* new_resource_keyword_version, std::set<std::string>* removed_keyword_guids) argument 312 GetSearchProvidersUsingLoadedEngines( WebDataService* service, Profile* profile, TemplateURLService::TemplateURLVector* template_urls, TemplateURL** default_search_provider, int* resource_keyword_version, std::set<std::string>* removed_keyword_guids) argument [all...] |
H A D | 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); 2259 // |template_urls| ar 112 FirstPotentialDefaultEngine( const TemplateURLService::TemplateURLVector& template_urls) argument 215 LogDuplicatesHistogram( const TemplateURLService::TemplateURLVector& template_urls) argument 2267 RemoveProvidersCreatedByPolicy( TemplateURLVector* template_urls, TemplateURL** default_search_provider, TemplateURL* default_from_prefs) argument 2508 PatchMissingSyncGUIDs( TemplateURLVector* template_urls) argument 2523 AddTemplateURLsAndSetupDefaultEngine( TemplateURLVector* template_urls, TemplateURL* default_search_provider) argument [all...] |
/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/search_engines/ |
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 | 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 | 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 | 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...] |
/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 | 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 | 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 | 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 | 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 | 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 | 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 | 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...] |
/external/chromium_org/chrome/browser/importer/ |
H A D | 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, argument 295 for (ScopedVector<TemplateURL>::iterator i = template_urls.begin(); 296 i != template_urls.end(); ++i) {
|
/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) {
|