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

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 formatting Created 4 years, 3 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: 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..d521f4c6bbe2be2b1ebf6041e4c9cc54ae20528a 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& policy_url,
WebPluginInfo* plugin) = 0;
// Whether the renderer has permission to load available |plugin|.

Powered by Google App Engine
This is Rietveld 408576698