| Index: components/nacl/browser/nacl_host_message_filter.cc
|
| diff --git a/components/nacl/browser/nacl_host_message_filter.cc b/components/nacl/browser/nacl_host_message_filter.cc
|
| index 9e852661bef4a08951fe0aefc7f600a76eb588e3..9389b704d56331b5ccfa04ae7e11f68f39f287bc 100644
|
| --- a/components/nacl/browser/nacl_host_message_filter.cc
|
| +++ b/components/nacl/browser/nacl_host_message_filter.cc
|
| @@ -57,6 +57,8 @@ bool NaClHostMessageFilter::OnMessageReceived(const IPC::Message& message,
|
| OnOpenNaClExecutable)
|
| IPC_MESSAGE_HANDLER(NaClHostMsg_NaClGetNumProcessors,
|
| OnNaClGetNumProcessors)
|
| + IPC_MESSAGE_HANDLER(NaClHostMsg_NaClDebugEnabledForURL,
|
| + OnNaClDebugEnabledForURL)
|
| #endif
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -181,4 +183,10 @@ void NaClHostMessageFilter::OnOpenNaClExecutable(int render_view_id,
|
| reply_msg);
|
| }
|
|
|
| +void NaClHostMessageFilter::OnNaClDebugEnabledForURL(const GURL& nmf_url,
|
| + bool* should_debug) {
|
| + *should_debug =
|
| + nacl::NaClBrowser::GetDelegate()->URLMatchesDebugPatterns(nmf_url);
|
| +}
|
| +
|
| } // namespace nacl
|
|
|