Implement a DRIVE_REQUEST_TOO_LARGE backoff.
commita8a2de415f6597088f4a2f1e8610b5133c177cfd
authormtomasz <mtomasz@chromium.org>
Tue, 30 Jun 2015 08:41:43 +0000 (30 01:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 08:42:17 +0000 (30 08:42 +0000)
tree67b53737feca6e3ddf5d77a3d42e33c457e32954
parent917537c881d749152267d30b49c5b48431c1bb28
Implement a DRIVE_REQUEST_TOO_LARGE backoff.

1. Added DRIVE_REQUEST_TOO_LARGE error code.
2. Implemented google_apis::FilesListRequestRunner (with backoff)
3. Renamed StartRequestWithRetry to *WithAuthRetry, so it's clear what is that
   retry about (as we have now two types of retries in google_apis:: drive
   code).

TEST=google_apis_unittests: *FilesListRequestRunner*
BUG=433716

Review URL: https://codereview.chromium.org/1218773003

Cr-Commit-Position: refs/heads/master@{#336742}
18 files changed:
chrome/browser/drive/drive_api_service.cc
chrome/browser/drive/drive_api_service.h
chrome/browser/drive/drive_api_service_unittest.cc
chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
google_apis/BUILD.gn
google_apis/drive/base_requests.cc
google_apis/drive/base_requests_server_unittest.cc
google_apis/drive/base_requests_unittest.cc
google_apis/drive/drive_api_error_codes.cc
google_apis/drive/drive_api_error_codes.h
google_apis/drive/drive_api_requests_unittest.cc
google_apis/drive/files_list_request_runner.cc [new file with mode: 0644]
google_apis/drive/files_list_request_runner.h [new file with mode: 0644]
google_apis/drive/files_list_request_runner_unittest.cc [new file with mode: 0644]
google_apis/drive/request_sender.cc
google_apis/drive/request_sender.h
google_apis/drive/request_sender_unittest.cc
google_apis/google_apis.gyp