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

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: Through #39 + pepper_flash_component_installer compile fix 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..a311b122e2fe32ba4fac353b8ea3da42075bf8a5 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;
@@ -110,6 +115,19 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
IPC::Message* reply_msg,
const std::vector<content::WebPluginInfo>& plugins);
+ void FindComponentUpdatePlugin(
+ const GetPluginInfo_Params& params,
+ std::unique_ptr<ChromeViewHostMsg_GetPluginInfo_Output> output,
+ std::unique_ptr<PluginMetadata> plugin_metadata,
+ IPC::Message* reply_msg,
+ scoped_refptr<base::SingleThreadTaskRunner> reply_task_runner);
+
+ 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