diff options
Diffstat (limited to 'sync/internal_api/public/util')
-rw-r--r-- | sync/internal_api/public/util/syncer_error.cc | 1 | ||||
-rw-r--r-- | sync/internal_api/public/util/syncer_error.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sync/internal_api/public/util/syncer_error.cc b/sync/internal_api/public/util/syncer_error.cc index e7cb66f..81805d2 100644 --- a/sync/internal_api/public/util/syncer_error.cc +++ b/sync/internal_api/public/util/syncer_error.cc @@ -28,6 +28,7 @@ const char* GetSyncerErrorString(SyncerError value) { ENUM_CASE(SERVER_RESPONSE_VALIDATION_FAILED); ENUM_CASE(SERVER_RETURN_DISABLED_BY_ADMIN); ENUM_CASE(SERVER_MORE_TO_DOWNLOAD); + ENUM_CASE(DATATYPE_TRIGGERED_RETRY); ENUM_CASE(SYNCER_OK); } NOTREACHED(); diff --git a/sync/internal_api/public/util/syncer_error.h b/sync/internal_api/public/util/syncer_error.h index 02da22c..1a5ec79 100644 --- a/sync/internal_api/public/util/syncer_error.h +++ b/sync/internal_api/public/util/syncer_error.h @@ -31,6 +31,9 @@ enum SYNC_EXPORT_PRIVATE SyncerError { SERVER_RESPONSE_VALIDATION_FAILED, SERVER_RETURN_DISABLED_BY_ADMIN, + // A datatype decided the sync cycle needed to be performed again. + DATATYPE_TRIGGERED_RETRY, + SERVER_MORE_TO_DOWNLOAD, SYNCER_OK |