HomeSort by relevance Sort by last modified time
    Searched refs:template_urls (Results 1 - 25 of 37) sorted by null

1 2

  /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);
  /external/chromium_org/chrome/browser/search_engines/
util.h 37 // * a set of template_urls (search providers). The caller owns the
38 // TemplateURL* returned in template_urls.
40 // it is contained in template_urls).
52 TemplateURLService::TemplateURLVector* template_urls,
58 // engines in |template_urls| instead of getting them via processing a web data
67 TemplateURLService::TemplateURLVector* template_urls,
77 // Removes (and deletes) TemplateURLs from |template_urls| and |service| if they
86 TemplateURLService::TemplateURLVector* template_urls,
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,
    [all...]
search_host_to_urls_map.h 26 void Init(const TemplateURLService::TemplateURLVector& template_urls,
52 void Add(const TemplateURLService::TemplateURLVector& template_urls,
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)
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])
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);
  /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,
  /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) {
profile_writer.h 81 // Adds the TemplateURLs in |template_urls| to the local store. The local
83 // |template_urls| may conflict (same keyword or same host name in the URL)
85 // ones take precedence and the duplicates in |template_urls| are deleted.
89 virtual void AddKeywords(ScopedVector<TemplateURL> template_urls,
firefox_importer_browsertest.cc 175 virtual void AddKeywords(ScopedVector<TemplateURL> template_urls,
177 for (size_t i = 0; i < template_urls.size(); ++i) {
181 string16 keyword = template_urls[i]->keyword();
183 if (template_urls[i]->keyword() ==
185 EXPECT_EQ(kFirefoxKeywords[j].url, template_urls[i]->url());
  /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);

Completed in 506 milliseconds

1 2