Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.h

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull && gclient sync Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698