Home
last modified time | relevance | path

Searched refs:url_ref (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/search_engines/
Dtemplate_url_unittest.cc479 TemplateURLRef url_ref(parsed_url, 0, 0); in TEST_F() local
481 EXPECT_TRUE(url_ref.ParseParameter(0, 12, &parsed_url, &replacements)); in TEST_F()
490 TemplateURLRef url_ref(parsed_url, 0, 0); in TEST_F() local
492 EXPECT_FALSE(url_ref.ParseParameter(0, 1, &parsed_url, &replacements)); in TEST_F()
498 TemplateURLRef url_ref("", 0, 0); in TEST_F() local
501 EXPECT_EQ(std::string(), url_ref.ParseURL("", &replacements, &valid)); in TEST_F()
507 TemplateURLRef url_ref("{", 0, 0); in TEST_F() local
510 EXPECT_EQ(std::string(), url_ref.ParseURL("{", &replacements, &valid)); in TEST_F()
516 TemplateURLRef url_ref("{}", 0, 0); in TEST_F() local
519 EXPECT_EQ("{}", url_ref.ParseURL("{}", &replacements, &valid)); in TEST_F()
[all …]
Dtemplate_url_model.cc1200 const TemplateURLRef* url_ref = url->url(); in SetDefaultSearchProviderNoNotify() local
1201 if (url_ref && url_ref->HasGoogleBaseURLs()) { in SetDefaultSearchProviderNoNotify()