1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/shell/browser/shell_plugin_service_filter.h"
7 #include "base/strings/utf_string_conversions.h"
8 #include "content/public/common/webplugininfo.h"
12 ShellPluginServiceFilter::ShellPluginServiceFilter() {}
14 ShellPluginServiceFilter::~ShellPluginServiceFilter() {}
16 bool ShellPluginServiceFilter::IsPluginAvailable(
17 int render_process_id,
21 const GURL& policy_url,
22 WebPluginInfo* plugin) {
23 return plugin->name == ASCIIToUTF16("WebKit Test PlugIn");
26 bool ShellPluginServiceFilter::CanLoadPlugin(int render_process_id,
27 const base::FilePath& path) {
31 } // namespace content