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 ae8a43eba26e8b71559bd7cac94592e02a896582..5533f63bc291e7efcbdab013d133d537663be30a 100644 |
--- a/chrome/browser/chromeos/drive/file_errors.cc |
+++ b/chrome/browser/chromeos/drive/file_errors.cc |
@@ -72,68 +72,68 @@ std::string FileErrorToString(FileError error) { |
return ""; |
} |
-base::PlatformFileError FileErrorToPlatformError(FileError error) { |
+base::File::Error FileErrorToBaseFileError(FileError error) { |
switch (error) { |
case FILE_ERROR_OK: |
- return base::PLATFORM_FILE_OK; |
+ return base::File::FILE_OK; |
case FILE_ERROR_FAILED: |
- return base::PLATFORM_FILE_ERROR_FAILED; |
+ return base::File::FILE_ERROR_FAILED; |
case FILE_ERROR_IN_USE: |
- return base::PLATFORM_FILE_ERROR_IN_USE; |
+ return base::File::FILE_ERROR_IN_USE; |
case FILE_ERROR_EXISTS: |
- return base::PLATFORM_FILE_ERROR_EXISTS; |
+ return base::File::FILE_ERROR_EXISTS; |
case FILE_ERROR_NOT_FOUND: |
- return base::PLATFORM_FILE_ERROR_NOT_FOUND; |
+ return base::File::FILE_ERROR_NOT_FOUND; |
case FILE_ERROR_ACCESS_DENIED: |
- return base::PLATFORM_FILE_ERROR_ACCESS_DENIED; |
+ return base::File::FILE_ERROR_ACCESS_DENIED; |
case FILE_ERROR_TOO_MANY_OPENED: |
- return base::PLATFORM_FILE_ERROR_TOO_MANY_OPENED; |
+ return base::File::FILE_ERROR_TOO_MANY_OPENED; |
case FILE_ERROR_NO_MEMORY: |
- return base::PLATFORM_FILE_ERROR_NO_MEMORY; |
+ return base::File::FILE_ERROR_NO_MEMORY; |
case FILE_ERROR_NO_SERVER_SPACE: |
- return base::PLATFORM_FILE_ERROR_NO_SPACE; |
+ return base::File::FILE_ERROR_NO_SPACE; |
case FILE_ERROR_NOT_A_DIRECTORY: |
- return base::PLATFORM_FILE_ERROR_NOT_A_DIRECTORY; |
+ return base::File::FILE_ERROR_NOT_A_DIRECTORY; |
case FILE_ERROR_INVALID_OPERATION: |
- return base::PLATFORM_FILE_ERROR_INVALID_OPERATION; |
+ return base::File::FILE_ERROR_INVALID_OPERATION; |
case FILE_ERROR_SECURITY: |
- return base::PLATFORM_FILE_ERROR_SECURITY; |
+ return base::File::FILE_ERROR_SECURITY; |
case FILE_ERROR_ABORT: |
- return base::PLATFORM_FILE_ERROR_ABORT; |
+ return base::File::FILE_ERROR_ABORT; |
case FILE_ERROR_NOT_A_FILE: |
- return base::PLATFORM_FILE_ERROR_NOT_A_FILE; |
+ return base::File::FILE_ERROR_NOT_A_FILE; |
case FILE_ERROR_NOT_EMPTY: |
- return base::PLATFORM_FILE_ERROR_NOT_EMPTY; |
+ return base::File::FILE_ERROR_NOT_EMPTY; |
case FILE_ERROR_INVALID_URL: |
- return base::PLATFORM_FILE_ERROR_INVALID_URL; |
+ return base::File::FILE_ERROR_INVALID_URL; |
case FILE_ERROR_NO_CONNECTION: |
- return base::PLATFORM_FILE_ERROR_FAILED; |
+ return base::File::FILE_ERROR_FAILED; |
case FILE_ERROR_NO_LOCAL_SPACE: |
- return base::PLATFORM_FILE_ERROR_FAILED; |
+ return base::File::FILE_ERROR_FAILED; |
case FILE_ERROR_SERVICE_UNAVAILABLE: |
- return base::PLATFORM_FILE_ERROR_FAILED; |
+ return base::File::FILE_ERROR_FAILED; |
} |
NOTREACHED(); |
- return base::PLATFORM_FILE_ERROR_FAILED; |
+ return base::File::FILE_ERROR_FAILED; |
} |
FileError GDataToFileError(google_apis::GDataErrorCode status) { |