Home
last modified time | relevance | path

Searched refs:new_keyword (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/sync/test/integration/
Dsearch_engines_helper.cc221 const base::string16& new_keyword, in EditSearchEngine() argument
227 ASSERT_FALSE(new_keyword.empty()); in EditSearchEngine()
228 service->ResetTemplateURL(turl, short_name, new_keyword, url); in EditSearchEngine()
235 new_keyword, url); in EditSearchEngine()
Dsearch_engines_helper.h56 const base::string16& new_keyword,
/external/chromium_org/components/search_engines/
Dtemplate_url_service_sync_unittest.cc437 base::string16 new_keyword = model()->UniquifyKeyword(*turl, false); in TEST_F() local
438 EXPECT_EQ(ASCIIToUTF16("new.com"), new_keyword); in TEST_F()
439 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
447 new_keyword = model()->UniquifyKeyword(*turl, false); in TEST_F()
448 EXPECT_EQ(ASCIIToUTF16("key1_"), new_keyword); in TEST_F()
449 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
455 new_keyword = model()->UniquifyKeyword(*turl, false); in TEST_F()
456 EXPECT_EQ(ASCIIToUTF16("key1__"), new_keyword); in TEST_F()
457 EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
463 new_keyword = model()->UniquifyKeyword(*turl, true); in TEST_F()
[all …]
Dtemplate_url_service_unittest.cc638 const base::string16 new_keyword(ASCIIToUTF16("b")); in TEST_F() local
640 model()->ResetTemplateURL(t_url, new_short_name, new_keyword, new_url); in TEST_F()
642 ASSERT_EQ(new_keyword, t_url->keyword()); in TEST_F()
646 ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(new_keyword)); in TEST_F()
655 const TemplateURL* read_url = model()->GetTemplateURLForKeyword(new_keyword); in TEST_F()
Dtemplate_url_service.cc1982 base::string16 new_keyword = in AddNoNotify() local
1985 existing_keyword_turl->short_name(), new_keyword, in AddNoNotify()
2190 base::string16 new_keyword = UniquifyKeyword(*loser, false); in ResolveSyncKeywordConflict() local
2191 DCHECK(!GetTemplateURLForKeyword(new_keyword)); in ResolveSyncKeywordConflict()
2195 unapplied_sync_turl->data_.SetKeyword(new_keyword); in ResolveSyncKeywordConflict()
2199 data.SetKeyword(new_keyword); in ResolveSyncKeywordConflict()