#ifndef CONTENT_SHELL_BROWSER_SHELL_PLUGIN_SERVICE_FILTER_H_
#define CONTENT_SHELL_BROWSER_SHELL_PLUGIN_SERVICE_FILTER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "content/public/browser/plugin_service_filter.h"
namespace content {
class ShellPluginServiceFilter : public PluginServiceFilter {
public:
ShellPluginServiceFilter();
virtual ~ShellPluginServiceFilter();
virtual bool IsPluginAvailable(int render_process_id,
int render_frame_id,
const void* context,
const GURL& url,
const GURL& policy_url,
WebPluginInfo* plugin) OVERRIDE;
virtual bool CanLoadPlugin(int render_process_id,
const base::FilePath& path) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ShellPluginServiceFilter);
};
}
#endif