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.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/mount.h
diff --git a/native_client_sdk/src/libraries/nacl_io/mount.h b/native_client_sdk/src/libraries/nacl_io/mount.h
index 58cf1a4ed1029048713299b616172e260083dc24..3f6318b95ab05948ca3c0a76c05db83a7d6d96da 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount.h
+++ b/native_client_sdk/src/libraries/nacl_io/mount.h
@@ -17,16 +17,18 @@
#include "sdk_util/ref_object.h"
#include "sdk_util/scoped_ref.h"
+namespace nacl_io {
+
class Mount;
class MountNode;
class PepperInterface;
-typedef ScopedRef<Mount> ScopedMount;
+typedef sdk_util::ScopedRef<Mount> ScopedMount;
typedef std::map<std::string, std::string> StringMap_t;
// NOTE: The KernelProxy is the only class that should be setting errno. All
// other classes should return Error (as defined by nacl_io/error.h).
-class Mount : public RefObject {
+class Mount : public sdk_util::RefObject {
protected:
// The protected functions are only used internally and will not
// acquire or release the mount's lock.
@@ -90,4 +92,6 @@ class Mount : public RefObject {
DISALLOW_COPY_AND_ASSIGN(Mount);
};
+} // namespace nacl_io
+
#endif // LIBRARIES_NACL_IO_MOUNT_H_
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ('k') | native_client_sdk/src/libraries/nacl_io/mount.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698