Index: components/browser_sync/profile_sync_service.h |
diff --git a/components/browser_sync/profile_sync_service.h b/components/browser_sync/profile_sync_service.h |
index ee7fa2f9e7d73680d692b5f2188feb659dd10acf..f38aaec96027960a09479d51ba1abd909eff619b 100644 |
--- a/components/browser_sync/profile_sync_service.h |
+++ b/components/browser_sync/profile_sync_service.h |
@@ -569,6 +569,10 @@ class ProfileSyncService : public syncer::SyncServiceBase, |
// Triggers sync cycle with request to update specified |types|. |
void RefreshTypesForTest(syncer::ModelTypeSet types); |
+ // Calls sync engine to send ClearServerDataMessage to server. This is used |
+ // to start accounts with a clean slate when performing end to end testing. |
+ void ClearServerDataForTest(const base::Closure& callback); |
+ |
protected: |
// SyncServiceBase implementation. |
syncer::SyncCredentials GetCredentials() override; |