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

Unified Diff: components/browser_sync/profile_sync_service.h

Issue 2716413003: Initial clear server data impl (Closed)
Patch Set: Responding to Pavel's comments. 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..3a7aad9141c5320307a393dc5d6b6458465e898f 100644
--- a/components/browser_sync/profile_sync_service.h
+++ b/components/browser_sync/profile_sync_service.h
@@ -731,6 +731,10 @@ class ProfileSyncService : public syncer::SyncServiceBase,
// Restarts sync clearing directory in the process.
void OnClearServerDataDone();
+ // 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);
+
// True if setup has been completed at least once and is not in progress.
bool CanConfigureDataTypes() const;

Powered by Google App Engine
This is Rietveld 408576698