Chromium Code Reviews| Index: chrome/browser/chromeos/drive/sync_client.cc |
| diff --git a/chrome/browser/chromeos/drive/sync_client.cc b/chrome/browser/chromeos/drive/sync_client.cc |
| index a679f3f8db1684d6b7162ccebbb5982c2e6cd968..f17b7890684db095c5db06e1615bc4ffa9fbefcb 100644 |
| --- a/chrome/browser/chromeos/drive/sync_client.cc |
| +++ b/chrome/browser/chromeos/drive/sync_client.cc |
| @@ -397,6 +397,9 @@ void SyncClient::OnUpdateComplete(const std::string& local_id, |
| DVLOG(1) << "Updated " << local_id; |
| } else { |
| switch (error) { |
| + case FILE_ERROR_ABORT: |
| + // Ignore it because this is caused by user's cancel operations. |
| + break; |
| case FILE_ERROR_NO_CONNECTION: |
| // Add the task again so that we'll retry once the connection is back. |
| AddUpdateTaskInternal(ClientContext(BACKGROUND), local_id, |
| @@ -409,6 +412,7 @@ void SyncClient::OnUpdateComplete(const std::string& local_id, |
| file_system::DRIVE_SYNC_ERROR_SERVICE_UNAVAILABLE, |
| local_id); |
| break; |
| + |
|
hashimoto
2014/01/29 08:35:19
nit: This blank line is not needed.
hirono
2014/01/29 10:35:31
Done.
|
| default: |
| operation_observer_->OnDriveSyncError( |
| file_system::DRIVE_SYNC_ERROR_MISC, |