Chromium Code Reviews| Index: chrome/common/extensions/extension_messages.h |
| diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h |
| index a79c9def51b9723a9858ed67f72d183ae26e1334..6dd227979e46c90fb61fb3fcc6a814803074dd56 100644 |
| --- a/chrome/common/extensions/extension_messages.h |
| +++ b/chrome/common/extensions/extension_messages.h |
| @@ -13,6 +13,8 @@ |
| #include "chrome/common/extensions/url_pattern_set.h" |
| #include "chrome/common/view_type.h" |
| #include "chrome/common/web_apps.h" |
| +#include "content/public/common/common_param_traits.h" |
| +#include "content/public/common/console_message_level.h" |
|
jam
2012/06/14 03:59:55
nit: redundant, since you're including common_para
Mihai Parparita -not on Chrome
2012/06/14 23:10:08
Done (though then in theory it's not Include-What-
|
| #include "ipc/ipc_message_macros.h" |
| #define IPC_MESSAGE_START ExtensionMsgStart |
| @@ -325,6 +327,11 @@ IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect, |
| IPC_MESSAGE_CONTROL1(ExtensionMsg_SetChannel, |
| int /* channel */) |
| +// Adds a logging message to the renderer's root frame DevTools console. |
| +IPC_MESSAGE_ROUTED2(ExtensionMsg_AddMessageToConsole, |
| + content::ConsoleMessageLevel /* level */, |
| + std::string /* message */) |
| + |
| // Messages sent from the renderer to the browser. |
| // A renderer sends this message when an extension process starts an API |