| Index: chrome/browser/plugins/plugin_info_message_filter.h
|
| diff --git a/chrome/browser/plugins/plugin_info_message_filter.h b/chrome/browser/plugins/plugin_info_message_filter.h
|
| index ece530845f9aef652a37fc6f375f1b232419a0e8..83173667c566a54265edeab5433fa07369192d6a 100644
|
| --- a/chrome/browser/plugins/plugin_info_message_filter.h
|
| +++ b/chrome/browser/plugins/plugin_info_message_filter.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_
|
| #define CHROME_BROWSER_PLUGINS_PLUGIN_INFO_MESSAGE_FILTER_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -26,6 +27,10 @@ class PluginFinder;
|
| class PluginMetadata;
|
| class Profile;
|
|
|
| +namespace base {
|
| +class SingleThreadTaskRunner;
|
| +}
|
| +
|
| namespace content {
|
| class ResourceContext;
|
| struct WebPluginInfo;
|
| @@ -35,6 +40,10 @@ namespace extensions {
|
| class ExtensionRegistry;
|
| }
|
|
|
| +namespace component_updater {
|
| +struct ComponentInfo;
|
| +}
|
| +
|
| // This class filters out incoming IPC messages requesting plugin information.
|
| class PluginInfoMessageFilter : public content::BrowserMessageFilter {
|
| public:
|
| @@ -110,6 +119,19 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
|
| IPC::Message* reply_msg,
|
| const std::vector<content::WebPluginInfo>& plugins);
|
|
|
| + void ComponentPluginLookupDone(
|
| + const GetPluginInfo_Params& params,
|
| + std::unique_ptr<ChromeViewHostMsg_GetPluginInfo_Output> output,
|
| + std::unique_ptr<PluginMetadata> plugin_metadata,
|
| + IPC::Message* reply_msg,
|
| + std::unique_ptr<component_updater::ComponentInfo> cus_plugin_info);
|
| +
|
| + void GetPluginInfoReply(
|
| + const GetPluginInfo_Params& params,
|
| + std::unique_ptr<ChromeViewHostMsg_GetPluginInfo_Output> output,
|
| + std::unique_ptr<PluginMetadata> plugin_metadata,
|
| + IPC::Message* reply_msg);
|
| +
|
| #if defined(ENABLE_PEPPER_CDMS)
|
| // Returns whether any internal plugin supporting |mime_type| is registered
|
| // and enabled. Does not determine whether the plugin can actually be
|
|
|