Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Unified Diff: sync/internal_api/public/attachments/attachment_uploader.h

Issue 554743004: Update AttachmentServiceImpl to retry attachment uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/internal_api/public/attachments/attachment_uploader.h
diff --git a/sync/internal_api/public/attachments/attachment_uploader.h b/sync/internal_api/public/attachments/attachment_uploader.h
index 7c2f39c9d407f2501f76b10ede0e29b5de883323..0339e67a85955cf458cea778be6e90ea8d31b474 100644
--- a/sync/internal_api/public/attachments/attachment_uploader.h
+++ b/sync/internal_api/public/attachments/attachment_uploader.h
@@ -20,6 +20,7 @@ class SYNC_EXPORT AttachmentUploader {
enum UploadResult {
UPLOAD_SUCCESS, // No error, attachment was uploaded
// successfully.
+ UPLOAD_TRANSIENT_ERROR, // A transient error occurred, try again later.
UPLOAD_UNSPECIFIED_ERROR, // An unspecified error occurred.
};
« no previous file with comments | « sync/internal_api/public/attachments/attachment_service_impl.h ('k') | sync/internal_api/public/attachments/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698