| Index: chrome/browser/search_engines/template_url_service.h
|
| ===================================================================
|
| --- chrome/browser/search_engines/template_url_service.h (revision 108653)
|
| +++ chrome/browser/search_engines/template_url_service.h (working copy)
|
| @@ -336,8 +336,6 @@
|
| FindDuplicateOfSyncTemplateURL);
|
| FRIEND_TEST_ALL_PREFIXES(TemplateURLServiceSyncTest,
|
| MergeSyncAndLocalURLDuplicates);
|
| - FRIEND_TEST_ALL_PREFIXES(TemplateURLServiceSyncTest,
|
| - CreateGUIDToSyncDataMap);
|
|
|
| friend class TemplateURLServiceTestUtil;
|
|
|
| @@ -496,6 +494,14 @@
|
| TemplateURL* local_url,
|
| SyncChangeList* change_list);
|
|
|
| + // Checks a newly added TemplateURL from Sync by its sync_guid and sets it as
|
| + // the default search provider if we were waiting for it.
|
| + void CheckForSyncedDefaultSearchProvider(const std::string& guid);
|
| +
|
| + // Retrieve the pending default search provider according to Sync. Returns
|
| + // NULL if there was no pending search provider from Sync.
|
| + const TemplateURL* GetPendingSyncedDefaultSearchProvder();
|
| +
|
| content::NotificationRegistrar registrar_;
|
|
|
| // Mapping from keyword to the TemplateURL.
|
|
|