Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: components/browser_sync/profile_sync_service.h

Issue 2716413003: Initial clear server data impl (Closed)
Patch Set: Clear server data command Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7ec267909816b4d61b5f886c4f71fd1c5b135383 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
+ // for end to end testing
skym 2017/03/07 18:38:23 End with punctuation.
+ void ClearServerDataForTest(const base::Closure& callback);
+
protected:
// SyncServiceBase implementation.
syncer::SyncCredentials GetCredentials() override;

Powered by Google App Engine
This is Rietveld 408576698