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

Unified Diff: native_client_sdk/src/libraries/nacl_io/inode_pool.h

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/inode_pool.h
diff --git a/native_client_sdk/src/libraries/nacl_io/inode_pool.h b/native_client_sdk/src/libraries/nacl_io/inode_pool.h
index 57bb0f86dc2c2fa221c538d02e8e1f85bf32dbc5..8ab25b22ad77d14da3b0b4991e5884894a4bb360 100644
--- a/native_client_sdk/src/libraries/nacl_io/inode_pool.h
+++ b/native_client_sdk/src/libraries/nacl_io/inode_pool.h
@@ -13,6 +13,7 @@
#include "pthread.h"
#include "sdk_util/auto_lock.h"
+namespace nacl_io {
class INodePool {
public:
@@ -52,7 +53,9 @@ class INodePool {
size_t num_nodes_;
size_t max_nodes_;
std::vector<ino_t> inos_;
- SimpleLock lock_;
+ sdk_util::SimpleLock lock_;
};
+} // namespace nacl_io
+
#endif // LIBRARIES_NACL_IO_INODE_POOL_H_
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/error.h ('k') | native_client_sdk/src/libraries/nacl_io/kernel_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698