| Index: components/filesystem/file_system_impl.cc
|
| diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc
|
| index f33aea8947d3380314d5c9c09cdfb992d3da1329..cfd4cace55f22c871bcc1c703aa7118f13f1441e 100644
|
| --- a/components/filesystem/file_system_impl.cc
|
| +++ b/components/filesystem/file_system_impl.cc
|
| @@ -4,12 +4,6 @@
|
|
|
| #include "components/filesystem/file_system_impl.h"
|
|
|
| -#include <fcntl.h>
|
| -#include <stdlib.h>
|
| -#include <sys/stat.h>
|
| -#include <sys/types.h>
|
| -#include <unistd.h>
|
| -
|
| #include "base/files/file_path.h"
|
| #include "base/files/scoped_file.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| @@ -46,9 +40,9 @@ void FileSystemImpl::OpenFileSystem(const mojo::String& file_system,
|
|
|
| if (!path.empty()) {
|
| new DirectoryImpl(directory.Pass(), path, temp_dir.Pass());
|
| - callback.Run(ERROR_OK);
|
| + callback.Run(FILE_ERROR_OK);
|
| } else {
|
| - callback.Run(ERROR_FAILED);
|
| + callback.Run(FILE_ERROR_FAILED);
|
| }
|
| }
|
|
|
|
|