| Index: google_apis/drive/base_requests.cc
|
| diff --git a/google_apis/drive/base_requests.cc b/google_apis/drive/base_requests.cc
|
| index 604324491df920cacca74f339eb48cb153594a67..e526012eeccc41ccbb1735c1a18e41ee01dd7931 100644
|
| --- a/google_apis/drive/base_requests.cc
|
| +++ b/google_apis/drive/base_requests.cc
|
| @@ -152,6 +152,7 @@ google_apis::DriveApiErrorCode MapJsonError(
|
| const char kErrorReasonRateLimitExceeded[] = "rateLimitExceeded";
|
| const char kErrorReasonUserRateLimitExceeded[] = "userRateLimitExceeded";
|
| const char kErrorReasonQuotaExceeded[] = "quotaExceeded";
|
| + const char kErrorReasonResponseTooLarge[] = "responseTooLarge";
|
|
|
| scoped_ptr<const base::Value> value(google_apis::ParseJson(error_body));
|
| const base::DictionaryValue* dictionary = NULL;
|
| @@ -177,6 +178,8 @@ google_apis::DriveApiErrorCode MapJsonError(
|
| }
|
| if (reason == kErrorReasonQuotaExceeded)
|
| return google_apis::DRIVE_NO_SPACE;
|
| + if (reason == kErrorReasonResponseTooLarge)
|
| + return google_apis::DRIVE_RESPONSE_TOO_LARGE;
|
| }
|
| }
|
|
|
|
|