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 ac43cf81ce786167549950f3862336c359599b35..9c751fd4874509ed1a2c5bb03e239bdfe4d68b43 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -781,6 +781,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(); |