| Index: chrome/browser/sync/profile_sync_service.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
|
| index 6375c3448ddd62828392a5a0aca4d5e7f39352de..d248a8d9c3a0e09fcc2b6e099f05305c75d4cefc 100644
|
| --- a/chrome/browser/sync/profile_sync_service.cc
|
| +++ b/chrome/browser/sync/profile_sync_service.cc
|
| @@ -2767,3 +2767,10 @@ bool ProfileSyncService::NeedBackup() const {
|
| base::Time ProfileSyncService::GetDeviceBackupTimeForTesting() const {
|
| return backend_->GetSyncedDeviceTracker()->GetLocalDeviceBackupTime();
|
| }
|
| +
|
| +void ProfileSyncService::FlushDirectory() const {
|
| + // If the user is signed out of sync, backend can be NULL.
|
| + if (backend_ != NULL) {
|
| + backend_->FlushDirectory();
|
| + }
|
| +}
|
|
|