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

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

Issue 1480303002: Implement a basic PPAPI plugin for Blink layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change tests to use startAfterLoadAndFinish helper when possible. Created 5 years 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 f9cd7b9f1e586f255d328477d7ba17b59344a67c..204bb9910b1790bf59071f4ca884c233b8ccd1a4 100644
--- a/content/shell/browser/shell_plugin_service_filter.cc
+++ b/content/shell/browser/shell_plugin_service_filter.cc
@@ -20,7 +20,8 @@ bool ShellPluginServiceFilter::IsPluginAvailable(
const GURL& url,
const GURL& policy_url,
WebPluginInfo* plugin) {
- return plugin->name == base::ASCIIToUTF16("WebKit Test PlugIn");
+ return plugin->name == base::ASCIIToUTF16("Blink Test Plugin") ||
+ plugin->name == base::ASCIIToUTF16("WebKit Test PlugIn");
}
bool ShellPluginServiceFilter::CanLoadPlugin(int render_process_id,

Powered by Google App Engine
This is Rietveld 408576698