Home
last modified time | relevance | path

Searched refs:sync_turl (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/components/search_engines/
Dtemplate_url_service_sync_unittest.cc493 scoped_ptr<TemplateURL> sync_turl(CreateTestTemplateURL( in TEST_F() local
497 model()->IsLocalTemplateURLBetter(local_turl, sync_turl.get())); in TEST_F()
516 scoped_ptr<TemplateURL> sync_turl(CreateTestTemplateURL(original_turl_keyword, in TEST_F() local
519 model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); in TEST_F()
520 EXPECT_NE(original_turl_keyword, sync_turl->keyword()); in TEST_F()
537 sync_turl.reset(CreateTestTemplateURL(original_turl_keyword, "http://new.com", in TEST_F()
539 model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); in TEST_F()
540 EXPECT_EQ(original_turl_keyword, sync_turl->keyword()); in TEST_F()
556 sync_turl.reset(CreateTestTemplateURL(original_turl_keyword, "http://new.com", in TEST_F()
558 model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); in TEST_F()
[all …]
Dtemplate_url_service.cc1136 scoped_ptr<TemplateURL> sync_turl( in MergeDataAndStartSyncing() local
1140 if (!sync_turl.get()) in MergeDataAndStartSyncing()
1143 if (pre_sync_deletes_.find(sync_turl->sync_guid()) != in MergeDataAndStartSyncing()
1162 if (sync_turl->last_modified() > local_turl->last_modified()) { in MergeDataAndStartSyncing()
1168 if (UpdateNoNotify(local_turl, *sync_turl)) in MergeDataAndStartSyncing()
1172 } else if (sync_turl->last_modified() < local_turl->last_modified()) { in MergeDataAndStartSyncing()
1186 MergeInSyncTemplateURL(sync_turl.get(), sync_data_map, &new_changes, in MergeDataAndStartSyncing()
2163 const TemplateURL* sync_turl) { in IsLocalTemplateURLBetter() argument
2165 return local_turl->last_modified() > sync_turl->last_modified() || in IsLocalTemplateURLBetter()
2212 TemplateURL* sync_turl, in MergeInSyncTemplateURL() argument
[all …]
Dtemplate_url_service.h575 const TemplateURL* sync_turl);
603 void MergeInSyncTemplateURL(TemplateURL* sync_turl,