Chromium Code Reviews| Index: chrome/common/render_messages.h |
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
| index 7e559591b32551e4d4ae2d8d24524d13f9f0b30a..7dee1d06da89118376efa2dcca054835b7f97870 100644 |
| --- a/chrome/common/render_messages.h |
| +++ b/chrome/common/render_messages.h |
| @@ -42,6 +42,7 @@ enum class ChromeViewHostMsg_GetPluginInfo_Status { |
| kOutdatedBlocked, |
| kOutdatedDisallowed, |
| kPlayImportantContent, |
| + kComponentUpdateRequired, |
| kUnauthorized, |
| }; |
| @@ -411,6 +412,18 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_ErrorDownloadingPlugin, |
| std::string /* message */) |
| #endif // defined(ENABLE_PLUGIN_INSTALLATION) |
| +// Notifies a missing plugin placeholder that we have finished component- |
| +// updating the plug-in. |
| +IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateSuccess) |
| + |
| +// Notifies a missing plugin placeholder that we have failed to component-update |
| +// the plug-in. |
| +IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateFailure) |
| + |
| +// Notifies a missing plugin placeholder that we have started the component |
| +// download. |
| +IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateDownloading) |
| + |
| // Notifies a missing plugin placeholder that the user cancelled downloading |
| // the plugin. |
| IPC_MESSAGE_ROUTED0(ChromeViewMsg_CancelledDownloadingPlugin) |
| @@ -450,6 +463,12 @@ IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
| int /* placeholder ID */, |
| std::string /* plugin group identifier */) |
| +// Notifies when a plugin couldn't be loaded because it requires a component |
| +// update. |
| +IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUpdatePlugin, |
|
Bernhard Bauer
2016/07/28 10:25:10
Nit: the name of the message doesn't make much sen
waffles
2016/07/28 20:06:27
Done.
|
| + int /* placeholder ID */, |
| + std::string /* plugin group identifier */) |
| + |
| // Notifies when a plugin couldn't be loaded because it requires |
| // user authorization. |
| IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |