Chromium Code Reviews| Index: components/nacl/browser/nacl_process_host.cc |
| diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
| index e44df8983c3ffb3b10462746e3eca25fc0ed93d9..0aeb295745bbe56d40016048e986fc55ac5b79be 100644 |
| --- a/components/nacl/browser/nacl_process_host.cc |
| +++ b/components/nacl/browser/nacl_process_host.cc |
| @@ -48,6 +48,7 @@ |
| #include "ppapi/host/ppapi_host.h" |
| #include "ppapi/proxy/ppapi_messages.h" |
| #include "ppapi/shared_impl/ppapi_nacl_channel_args.h" |
| +#include "ppapi/shared_impl/ppapi_switches.h" |
| #if defined(OS_POSIX) |
| #include <fcntl.h> |
| @@ -798,6 +799,8 @@ void NaClProcessHost::OnPpapiChannelCreated( |
| nacl_host_message_filter_->render_process_id(), |
| render_view_id_, |
| profile_directory_)); |
| + ppapi_host_->SetOnKeepaliveCallback( |
| + nacl::NaClBrowser::GetDelegate()->GetOnKeepaliveCallback()); |
|
yzshen1
2013/12/13 21:23:15
nit: this code is in nacl:: namespace right? you c
scheib
2013/12/14 00:07:41
Done.
|
| ppapi::PpapiNaClChannelArgs args; |
| args.off_the_record = nacl_host_message_filter_->off_the_record(); |