Index: components/nacl/renderer/ppb_nacl_private_impl.cc |
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc |
index a5103aaf36f4e1c61e972e4c30a3b737cb5508b7..d46aba72c37280fe62e48aeae333cb61f94e1789 100644 |
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc |
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc |
@@ -16,6 +16,7 @@ |
#include "components/nacl/common/nacl_switches.h" |
#include "components/nacl/common/nacl_types.h" |
#include "components/nacl/renderer/pnacl_translation_resource_host.h" |
+#include "components/nacl/renderer/sandbox_isa.h" |
#include "components/nacl/renderer/trusted_plugin_channel.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/content_switches.h" |
@@ -554,6 +555,10 @@ PP_Bool NaClDebugStubEnabled() { |
switches::kEnableNaClDebug)); |
} |
+const char* GetSandboxISA() { |
+ return nacl::GetSandboxISA(); |
+} |
+ |
const PPB_NaCl_Private nacl_interface = { |
&LaunchSelLdr, |
&StartPpapiProxy, |
@@ -571,7 +576,8 @@ const PPB_NaCl_Private nacl_interface = { |
&SetReadOnlyProperty, |
&ReportLoadError, |
&InstanceDestroyed, |
- &NaClDebugStubEnabled |
+ &NaClDebugStubEnabled, |
+ &GetSandboxISA |
}; |
} // namespace |