Commit 49cd6df2 authored by jochen@chromium.org's avatar jochen@chromium.org

[content shell] simplify plugin whitelist.

We only need the webkit test plugin during layout tests

BUG=242291
R=abarth@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15820007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202545 0039d316-1c4b-4281-b951-d872f2087c98
parent c42a1a6e
......@@ -20,11 +20,7 @@ bool ShellPluginServiceFilter::IsPluginAvailable(
const GURL& url,
const GURL& policy_url,
webkit::WebPluginInfo* plugin) {
if (plugin->name == ASCIIToUTF16("WebKit Test PlugIn") ||
plugin->name == ASCIIToUTF16("NPAPI Test Plugin")) {
return true;
}
return false;
return plugin->name == ASCIIToUTF16("WebKit Test PlugIn");
}
bool ShellPluginServiceFilter::CanLoadPlugin(int render_process_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment