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

Unified Diff: native_client_sdk/src/libraries/nacl_io/pepper_interface.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/pepper_interface.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/pepper_interface.cc b/native_client_sdk/src/libraries/nacl_io/pepper_interface.cc
index 21c346255ee9b4736d987790a9d5d50f6e6b272a..a1a8db38a12f3e377a28b1d575e42dae49c22a86 100644
--- a/native_client_sdk/src/libraries/nacl_io/pepper_interface.cc
+++ b/native_client_sdk/src/libraries/nacl_io/pepper_interface.cc
@@ -6,6 +6,8 @@
#include <errno.h>
#include <ppapi/c/pp_errors.h>
+namespace nacl_io {
+
ScopedResource::ScopedResource(PepperInterface* ppapi, PP_Resource resource)
: ppapi_(ppapi),
resource_(resource) {
@@ -53,3 +55,4 @@ int PPErrorToErrno(int32_t err) {
return EINVAL;
}
+} // namespace nacl_io

Powered by Google App Engine
This is Rietveld 408576698