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

Unified Diff: native_client_sdk/src/libraries/sdk_util/scoped_ref.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/sdk_util/scoped_ref.h
diff --git a/native_client_sdk/src/libraries/sdk_util/scoped_ref.h b/native_client_sdk/src/libraries/sdk_util/scoped_ref.h
index 841f12bb66ae01a403c98382559d771a3e14fa0d..c42dee5addf005c3f89130daa9a0106afcb99ee7 100644
--- a/native_client_sdk/src/libraries/sdk_util/scoped_ref.h
+++ b/native_client_sdk/src/libraries/sdk_util/scoped_ref.h
@@ -11,6 +11,8 @@
#include "sdk_util/macros.h"
#include "sdk_util/ref_object.h"
+namespace sdk_util {
+
class ScopedRefBase {
protected:
ScopedRefBase() : ptr_(NULL) {}
@@ -80,4 +82,6 @@ class ScopedRef : public ScopedRefBase {
}
};
+} // namespace sdk_util
+
#endif // LIBRARIES_SDK_UTIL_SCOPED_REF_H_
« no previous file with comments | « native_client_sdk/src/libraries/sdk_util/ref_object.h ('k') | native_client_sdk/src/libraries/sdk_util/simple_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698