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

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

Issue 2378573005: [HBD] Blanket BLOCK on all non-HTTP(s) and non-FILE URLs for Flash. (Closed)
Patch Set: fix dat merge Created 4 years, 2 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 fecf3c5ef4217f999ff6d9f04926cbdf1df6c899..d0d802623cdcacdacb5940908e5feffb93163ed7 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.h
+++ b/chrome/browser/plugins/plugin_info_message_filter.h
@@ -44,6 +44,10 @@ namespace component_updater {
struct ComponentInfo;
}
+namespace url {
+class Origin;
+}
+
// This class filters out incoming IPC messages requesting plugin information.
class PluginInfoMessageFilter : public content::BrowserMessageFilter {
public:
@@ -64,7 +68,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
bool FindEnabledPlugin(
int render_frame_id,
const GURL& url,
- const GURL& top_origin_url,
+ const url::Origin& main_frame_origin,
const std::string& mime_type,
ChromeViewHostMsg_GetPluginInfo_Status* status,
content::WebPluginInfo* plugin,
@@ -102,7 +106,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
void OnGetPluginInfo(int render_frame_id,
const GURL& url,
- const GURL& top_origin_url,
+ const url::Origin& main_frame_origin,
const std::string& mime_type,
IPC::Message* reply_msg);
« no previous file with comments | « chrome/browser/plugins/flash_permission_context.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698