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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc

Issue 19717004: [NaCl SDK] Add nacl_io and sdk_util namespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad copyright in mount_mem Created 7 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_io/mount_node_mem.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc b/native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc
index 5beb0b87b13af0da3d4b46331f24ff204edba600..7924fa4c53a51821fdb14268b3de61f611f526da 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc
@@ -10,6 +10,8 @@
#include "nacl_io/osstat.h"
#include "sdk_util/auto_lock.h"
+namespace nacl_io {
+
#define BLOCK_SIZE (1 << 16)
#define BLOCK_MASK (BLOCK_SIZE - 1)
@@ -93,3 +95,5 @@ Error MountNodeMem::FTruncate(off_t new_size) {
return EIO;
}
+} // namespace nacl_io
+
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_node_mem.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_passthrough.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698