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

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

Issue 9536013: Move |requires_authorization| flag for plug-ins out of webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 years, 9 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
« no previous file with comments | « chrome/browser/plugin_observer.cc ('k') | chrome/browser/renderer_host/plugin_info_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/plugin_info_message_filter.h
diff --git a/chrome/browser/renderer_host/plugin_info_message_filter.h b/chrome/browser/renderer_host/plugin_info_message_filter.h
index 8cade7295a9930aaae9bfc1e36cdc4b03b249528..f0f6e3571e11f12fc38796cc96181211bd9bd750 100644
--- a/chrome/browser/renderer_host/plugin_info_message_filter.h
+++ b/chrome/browser/renderer_host/plugin_info_message_filter.h
@@ -18,6 +18,7 @@
struct ChromeViewHostMsg_GetPluginInfo_Status;
class GURL;
class HostContentSettingsMap;
+class PluginFinder;
class Profile;
namespace content {
@@ -26,6 +27,9 @@ class ResourceContext;
namespace webkit {
struct WebPluginInfo;
+namespace npapi {
+class PluginGroup;
+}
}
// This class filters out incoming IPC messages requesting plug-in information.
@@ -41,10 +45,11 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
Context();
~Context();
- void DecidePluginStatus(const GetPluginInfo_Params& params,
- ChromeViewHostMsg_GetPluginInfo_Status* status,
- webkit::WebPluginInfo* plugin,
- std::string* actual_mime_type) const;
+ void DecidePluginStatus(
+ const GetPluginInfo_Params& params,
+ const webkit::WebPluginInfo& plugin,
+ PluginFinder* plugin_finder,
+ ChromeViewHostMsg_GetPluginInfo_Status* status) const;
bool FindEnabledPlugin(int render_view_id,
const GURL& url,
const GURL& top_origin_url,
@@ -52,7 +57,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
ChromeViewHostMsg_GetPluginInfo_Status* status,
webkit::WebPluginInfo* plugin,
std::string* actual_mime_type) const;
- void GetPluginContentSetting(const webkit::WebPluginInfo* plugin,
+ void GetPluginContentSetting(const webkit::WebPluginInfo& plugin,
const GURL& policy_url,
const GURL& plugin_url,
const std::string& resource,
@@ -89,6 +94,12 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
IPC::Message* reply_msg,
const std::vector<webkit::WebPluginInfo>& plugins);
+ void GotPluginFinder(const GetPluginInfo_Params& params,
+ IPC::Message* reply_msg,
+ const webkit::WebPluginInfo& plugin,
+ const std::string& actual_mime_type,
+ PluginFinder* plugin_finder);
+
Context context_;
base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/plugin_observer.cc ('k') | chrome/browser/renderer_host/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698