| Index: chrome/browser/chromeos/drive/file_errors.cc
|
| diff --git a/chrome/browser/chromeos/drive/file_errors.cc b/chrome/browser/chromeos/drive/file_errors.cc
|
| index 5533f63bc291e7efcbdab013d133d537663be30a..1fb57c9d5c29c1c1647fc31ce5c74c222fa86115 100644
|
| --- a/chrome/browser/chromeos/drive/file_errors.cc
|
| +++ b/chrome/browser/chromeos/drive/file_errors.cc
|
| @@ -136,7 +136,7 @@ base::File::Error FileErrorToBaseFileError(FileError error) {
|
| return base::File::FILE_ERROR_FAILED;
|
| }
|
|
|
| -FileError GDataToFileError(google_apis::GDataErrorCode status) {
|
| +FileError GDataToFileError(google_apis::DriveApiErrorCode status) {
|
| switch (status) {
|
| case google_apis::HTTP_SUCCESS:
|
| case google_apis::HTTP_CREATED:
|
| @@ -153,11 +153,11 @@ FileError GDataToFileError(google_apis::GDataErrorCode status) {
|
| return FILE_ERROR_SERVICE_UNAVAILABLE;
|
| case google_apis::HTTP_NOT_IMPLEMENTED:
|
| return FILE_ERROR_INVALID_OPERATION;
|
| - case google_apis::GDATA_CANCELLED:
|
| + case google_apis::DRIVE_CANCELLED:
|
| return FILE_ERROR_ABORT;
|
| - case google_apis::GDATA_NO_CONNECTION:
|
| + case google_apis::DRIVE_NO_CONNECTION:
|
| return FILE_ERROR_NO_CONNECTION;
|
| - case google_apis::GDATA_NO_SPACE:
|
| + case google_apis::DRIVE_NO_SPACE:
|
| return FILE_ERROR_NO_SERVER_SPACE;
|
| default:
|
| return FILE_ERROR_FAILED;
|
|
|