Index: chrome/renderer/mock_render_thread.cc |
=================================================================== |
--- chrome/renderer/mock_render_thread.cc (revision 43656) |
+++ chrome/renderer/mock_render_thread.cc (working copy) |
@@ -85,6 +85,8 @@ |
IPC_MESSAGE_HANDLER(ViewHostMsg_CreateWidget, OnMsgCreateWidget); |
IPC_MESSAGE_HANDLER(ViewHostMsg_OpenChannelToExtension, |
OnMsgOpenChannelToExtension); |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_GetExtensionMessageBundle, |
+ OnMsgGetExtensionMessageBundle); |
#if defined(OS_WIN) || defined(OS_MACOSX) |
IPC_MESSAGE_HANDLER(ViewHostMsg_GetDefaultPrintSettings, |
OnGetDefaultPrintSettings); |
@@ -120,6 +122,13 @@ |
*port_id = 0; |
} |
+void MockRenderThread::OnMsgGetExtensionMessageBundle( |
+ const std::string extension_id, |
+ std::map<std::string, std::string>* messages) { |
+ DCHECK(messages); |
+ messages->insert(std::make_pair("@@extension_id", extension_id)); |
+} |
+ |
#if defined(OS_WIN) |
void MockRenderThread::OnDuplicateSection( |
base::SharedMemoryHandle renderer_handle, |