| Index: content/browser/browser_child_process_host_impl.h
|
| diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
|
| index 6b89e7f80845ae1e5f8c0e21e8e4e90c82950e09..a5f3b6d528b9beadc539d696b4511ef803d1282f 100644
|
| --- a/content/browser/browser_child_process_host_impl.h
|
| +++ b/content/browser/browser_child_process_host_impl.h
|
| @@ -76,6 +76,10 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
|
| void OnChannelError() override;
|
| void OnBadMessageReceived(const IPC::Message& message) override;
|
|
|
| + // Terminates the process and logs an error after a bad message was received
|
| + // from the child process.
|
| + void TerminateOnBadMessageReceived(uint32_t type);
|
| +
|
| // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
|
| void ForceShutdown();
|
|
|
|
|