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

Unified Diff: content/public/browser/plugin_service_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
« no previous file with comments | « content/public/browser/plugin_service.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/plugin_service_filter.h
diff --git a/content/public/browser/plugin_service_filter.h b/content/public/browser/plugin_service_filter.h
index e2dac555b848b5977a78f6debb7ed0f220792612..3b610b1f554e25dded5c9f7f27d2840ab60e3070 100644
--- a/content/public/browser/plugin_service_filter.h
+++ b/content/public/browser/plugin_service_filter.h
@@ -13,6 +13,10 @@ namespace base {
class FilePath;
}
+namespace url {
+class Origin;
+}
+
namespace content {
struct WebPluginInfo;
@@ -29,7 +33,7 @@ class PluginServiceFilter {
int render_frame_id,
const void* context,
const GURL& url,
- const GURL& policy_url,
+ const url::Origin& main_frame_origin,
WebPluginInfo* plugin) = 0;
// Whether the renderer has permission to load available |plugin|.
« no previous file with comments | « content/public/browser/plugin_service.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698