| Index: chrome/renderer/pepper/ppb_nacl_private_impl.cc
|
| diff --git a/chrome/renderer/pepper/ppb_nacl_private_impl.cc b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
|
| index 3b4607d7eda236fc022a39e0db5e1883e6032f61..7ebaba1f056aa33c0721e479369e6dde47b4f699 100644
|
| --- a/chrome/renderer/pepper/ppb_nacl_private_impl.cc
|
| +++ b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
|
| @@ -313,6 +313,11 @@ PP_Bool IsOffTheRecord() {
|
| return PP_FromBool(ChromeRenderProcessObserver::is_incognito_process());
|
| }
|
|
|
| +PP_Bool IsPnaclEnabled() {
|
| + return PP_FromBool(CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnablePnacl));
|
| +}
|
| +
|
| const PPB_NaCl_Private nacl_interface = {
|
| &LaunchSelLdr,
|
| &StartPpapiProxy,
|
| @@ -322,7 +327,8 @@ const PPB_NaCl_Private nacl_interface = {
|
| &BrokerDuplicateHandle,
|
| &GetReadonlyPnaclFD,
|
| &CreateTemporaryFile,
|
| - &IsOffTheRecord
|
| + &IsOffTheRecord,
|
| + &IsPnaclEnabled
|
| };
|
|
|
| } // namespace
|
|
|