Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: components/filesystem/file_system_impl.cc

Issue 1163523006: Revert of Mandoline filesystem: Enable windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « components/filesystem/file_impl_unittest.cc ('k') | components/filesystem/files_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698