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

Unified Diff: content/shell/browser/shell_plugin_service_filter.cc

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/shell/browser/shell_plugin_service_filter.cc
diff --git a/content/shell/browser/shell_plugin_service_filter.cc b/content/shell/browser/shell_plugin_service_filter.cc
index 7255c1b4b260d4ce2a2b399d21987e984125ef17..47b881c4ae5c188cb29cc4adafc08fdd248e9525 100644
--- a/content/shell/browser/shell_plugin_service_filter.cc
+++ b/content/shell/browser/shell_plugin_service_filter.cc
@@ -13,13 +13,12 @@ ShellPluginServiceFilter::ShellPluginServiceFilter() {}
ShellPluginServiceFilter::~ShellPluginServiceFilter() {}
-bool ShellPluginServiceFilter::IsPluginAvailable(
- int render_process_id,
- int render_frame_id,
- const void* context,
- const GURL& url,
- const GURL& policy_url,
- WebPluginInfo* plugin) {
+bool ShellPluginServiceFilter::IsPluginAvailable(int render_process_id,
+ int render_frame_id,
+ const void* context,
+ const GURL& url,
+ const url::Origin& policy_url,
+ WebPluginInfo* plugin) {
return plugin->name == base::ASCIIToUTF16("Blink Test Plugin") ||
plugin->name == base::ASCIIToUTF16("Blink Deprecated Test Plugin") ||
plugin->name == base::ASCIIToUTF16("WebKit Test PlugIn");

Powered by Google App Engine
This is Rietveld 408576698