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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc

Issue 1218773003: Implement a DRIVE_REQUEST_TOO_LARGE backoff. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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: chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
index 9984d8e237c1830d91abeaf8223d412b3a5e086a..0546a0f376a4d48aa30b7a0a42bf4aea98e765d6 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
@@ -130,6 +130,7 @@ SyncStatusCode DriveApiErrorCodeToSyncStatusCode(
case google_apis::HTTP_LENGTH_REQUIRED:
case google_apis::HTTP_NOT_IMPLEMENTED:
case google_apis::DRIVE_PARSE_ERROR:
+ case google_apis::DRIVE_RESPONSE_TOO_LARGE:
case google_apis::DRIVE_OTHER_ERROR:
return SYNC_STATUS_FAILED;

Powered by Google App Engine
This is Rietveld 408576698