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

Unified Diff: sync/internal_api/public/attachments/attachment_downloader.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_downloader.h
diff --git a/sync/internal_api/public/attachments/attachment_downloader.h b/sync/internal_api/public/attachments/attachment_downloader.h
index 93498ed68b4b300ebccd9b44078329f231126a87..12db4225c08f6d0d337c5dfa5ac07632355fcfef 100644
--- a/sync/internal_api/public/attachments/attachment_downloader.h
+++ b/sync/internal_api/public/attachments/attachment_downloader.h
@@ -24,6 +24,7 @@ class SYNC_EXPORT AttachmentDownloader {
enum DownloadResult {
DOWNLOAD_SUCCESS, // No error, attachment was downloaded
// successfully.
+ DOWNLOAD_TRANSIENT_ERROR, // A transient error occurred, try again later.
DOWNLOAD_UNSPECIFIED_ERROR, // An unspecified error occurred.
};
« no previous file with comments | « sync/internal_api/attachments/task_queue_unittest.cc ('k') | sync/internal_api/public/attachments/attachment_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698