Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index e9238699042d097ddc0272043944ecab0bf9ab70..0e0ea93fb029c467483d75ce6bfc6774443b1568 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -794,6 +794,11 @@ class ProfileSyncService : public ProfileSyncServiceBase, |
base::Time GetDeviceBackupTimeForTesting() const; |
+ // This triggers a Directory::SaveChanges() call on the sync thread. |
+ // It should be used to persist data to disk when the process might be |
+ // killed in the near future. |
+ void FlushDirectory() const; |
+ |
protected: |
// Helper to configure the priority data types. |
void ConfigurePriorityDataTypes(); |