| 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..89b350002b37366fa586aeda1f5004657fa85429 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_arch.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* GetSandboxArch() {
|
| + return nacl::GetSandboxArch();
|
| +}
|
| +
|
| const PPB_NaCl_Private nacl_interface = {
|
| &LaunchSelLdr,
|
| &StartPpapiProxy,
|
| @@ -571,7 +576,8 @@ const PPB_NaCl_Private nacl_interface = {
|
| &SetReadOnlyProperty,
|
| &ReportLoadError,
|
| &InstanceDestroyed,
|
| - &NaClDebugStubEnabled
|
| + &NaClDebugStubEnabled,
|
| + &GetSandboxArch
|
| };
|
|
|
| } // namespace
|
|
|