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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount.cc

Issue 10829027: [NaCl SDK] Add nacl_mounts to NaCl SDK build. Experimental for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 8 years, 5 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
Index: native_client_sdk/src/libraries/nacl_mounts/mount.cc
diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount.cc b/native_client_sdk/src/libraries/nacl_mounts/mount.cc
index ad8eeaec0b642f02d6e6e7f4fe5407ea59746c34..2841e3a8da0ad72f2d511be895f401d875d1ce42 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/mount.cc
+++ b/native_client_sdk/src/libraries/nacl_mounts/mount.cc
@@ -2,21 +2,19 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-#include <dirent.h>
+#include "nacl_mounts/mount.h"
+
#include <errno.h>
#include <fcntl.h>
-#include <sys/stat.h>
#include <string>
-#include "auto_lock.h"
-#include "ref_object.h"
-
-#include "nacl_mounts/mount.h"
#include "nacl_mounts/mount_node.h"
#include "nacl_mounts/mount_node_dir.h"
#include "nacl_mounts/mount_node_mem.h"
+#include "nacl_mounts/osstat.h"
#include "nacl_mounts/path.h"
-
+#include "utils/auto_lock.h"
+#include "utils/ref_object.h"
Mount::Mount()
: dev_(0) {
@@ -50,5 +48,3 @@ int Mount::OpenModeToPermission(int mode) {
}
return out;
}
-
-

Powered by Google App Engine
This is Rietveld 408576698