| Index: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
|
| index 04949d3ebc273527b8c0f8abddac3c936be9420a..5c731dc1c3fc69b721c662f53e665c5294455738 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
|
| @@ -303,11 +303,12 @@ void LocalToRemoteSyncer::DeleteRemoteFile(
|
| void LocalToRemoteSyncer::DidDeleteRemoteFile(
|
| const SyncStatusCallback& callback,
|
| google_apis::GDataErrorCode error) {
|
| - if (error != google_apis::HTTP_SUCCESS &&
|
| + SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error);
|
| + if (status != SYNC_STATUS_OK &&
|
| error != google_apis::HTTP_NOT_FOUND &&
|
| error != google_apis::HTTP_PRECONDITION &&
|
| error != google_apis::HTTP_CONFLICT) {
|
| - callback.Run(GDataErrorCodeToSyncStatusCode(error));
|
| + callback.Run(status);
|
| return;
|
| }
|
|
|
|
|