Index: content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
index 6c15c98d11d411a8b82afec86345bd03478e8cfe..ac71dd4b342d9b6eac08ff2cf57912c80b9750f6 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
@@ -48,6 +48,7 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived( |
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Go, OnGo) |
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Stop, OnStop) |
IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Reload, OnReload) |
+ IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_TerminateGuest, OnTerminateGuest) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -148,4 +149,8 @@ void BrowserPluginEmbedderHelper::OnReload(int instance_id) { |
embedder_->Reload(instance_id); |
} |
+void BrowserPluginEmbedderHelper::OnTerminateGuest(int instance_id) { |
+ embedder_->TerminateGuest(instance_id); |
+} |
+ |
} // namespace content |