Index: chrome/browser/local_discovery/storage/privet_filesystem_backend.cc |
diff --git a/chrome/browser/local_discovery/storage/privet_filesystem_backend.cc b/chrome/browser/local_discovery/storage/privet_filesystem_backend.cc |
index 00a54f5f530a867f2f7aba190ec36c5c70de8786..390518ff4e9568f70a7a2732bd0152d3e4f42c7f 100644 |
--- a/chrome/browser/local_discovery/storage/privet_filesystem_backend.cc |
+++ b/chrome/browser/local_discovery/storage/privet_filesystem_backend.cc |
@@ -42,7 +42,7 @@ void PrivetFileSystemBackend::OpenFileSystem( |
// Copied from src/chrome/browser/chromeos/fileapi/file_system_backend.cc |
// This is deprecated for non-sandboxed filesystems. |
NOTREACHED(); |
- callback.Run(GURL(), std::string(), base::PLATFORM_FILE_ERROR_SECURITY); |
+ callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); |
} |
fileapi::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { |
@@ -57,9 +57,9 @@ fileapi::AsyncFileUtil* PrivetFileSystemBackend::GetAsyncFileUtil( |
fileapi::CopyOrMoveFileValidatorFactory* |
PrivetFileSystemBackend::GetCopyOrMoveFileValidatorFactory( |
- fileapi::FileSystemType type, base::PlatformFileError* error_code) { |
+ fileapi::FileSystemType type, base::File::Error* error_code) { |
DCHECK(error_code); |
- *error_code = base::PLATFORM_FILE_OK; |
+ *error_code = base::File::FILE_OK; |
return NULL; |
} |
@@ -67,7 +67,7 @@ fileapi::FileSystemOperation* |
PrivetFileSystemBackend::CreateFileSystemOperation( |
const fileapi::FileSystemURL& url, |
fileapi::FileSystemContext* context, |
- base::PlatformFileError* error_code) const { |
+ base::File::Error* error_code) const { |
return fileapi::FileSystemOperation::Create( |
url, context, |
make_scoped_ptr(new fileapi::FileSystemOperationContext(context))); |