Index: components/filesystem/file_system_impl.cc |
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc |
index cfd4cace55f22c871bcc1c703aa7118f13f1441e..f33aea8947d3380314d5c9c09cdfb992d3da1329 100644 |
--- a/components/filesystem/file_system_impl.cc |
+++ b/components/filesystem/file_system_impl.cc |
@@ -3,6 +3,12 @@ |
// found in the LICENSE file. |
#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" |
@@ -40,9 +46,9 @@ |
if (!path.empty()) { |
new DirectoryImpl(directory.Pass(), path, temp_dir.Pass()); |
- callback.Run(FILE_ERROR_OK); |
+ callback.Run(ERROR_OK); |
} else { |
- callback.Run(FILE_ERROR_FAILED); |
+ callback.Run(ERROR_FAILED); |
} |
} |