| Index: chrome/browser/nacl_host/nacl_host_message_filter.cc
|
| diff --git a/chrome/browser/nacl_host/nacl_host_message_filter.cc b/chrome/browser/nacl_host/nacl_host_message_filter.cc
|
| index 0b7a8cb92ae774d9dfe21b281cbc6173c05a4476..1c87b6c02206329edb5a05b3cca158460e6b5f9d 100644
|
| --- a/chrome/browser/nacl_host/nacl_host_message_filter.cc
|
| +++ b/chrome/browser/nacl_host/nacl_host_message_filter.cc
|
| @@ -39,8 +39,6 @@ bool NaClHostMessageFilter::OnMessageReceived(const IPC::Message& message,
|
| IPC_BEGIN_MESSAGE_MAP_EX(NaClHostMessageFilter, message, *message_was_ok)
|
| #if !defined(DISABLE_NACL)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(NaClHostMsg_LaunchNaCl, OnLaunchNaCl)
|
| - IPC_MESSAGE_HANDLER(NaClHostMsg_EnsurePnaclInstalled,
|
| - OnEnsurePnaclInstalled)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(NaClHostMsg_GetReadonlyPnaclFD,
|
| OnGetReadonlyPnaclFd)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(NaClHostMsg_NaClCreateTemporaryFile,
|
| @@ -87,27 +85,6 @@ void NaClHostMessageFilter::OnLaunchNaCl(
|
| host->Launch(this, reply_msg, manifest_path);
|
| }
|
|
|
| -void NaClHostMessageFilter::ReplyEnsurePnaclInstalled(
|
| - int instance,
|
| - bool success) {
|
| - Send(new NaClViewMsg_EnsurePnaclInstalledReply(instance, success));
|
| -}
|
| -
|
| -void NaClHostMessageFilter::SendProgressEnsurePnaclInstalled(
|
| - int instance,
|
| - const nacl::PnaclInstallProgress& progress) {
|
| - // TODO(jvoung): actually send an IPC.
|
| -}
|
| -
|
| -void NaClHostMessageFilter::OnEnsurePnaclInstalled(
|
| - int instance) {
|
| - nacl_file_host::EnsurePnaclInstalled(
|
| - base::Bind(&NaClHostMessageFilter::ReplyEnsurePnaclInstalled,
|
| - this, instance),
|
| - base::Bind(&NaClHostMessageFilter::SendProgressEnsurePnaclInstalled,
|
| - this, instance));
|
| -}
|
| -
|
| void NaClHostMessageFilter::OnGetReadonlyPnaclFd(
|
| const std::string& filename, IPC::Message* reply_msg) {
|
| // This posts a task to another thread, but the renderer will
|
|
|