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 #ifndef CONTENT_SHELL_BROWSER_SHELL_PLUGIN_SERVICE_FILTER_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_PLUGIN_SERVICE_FILTER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "content/public/browser/plugin_service_filter.h"
14 class ShellPluginServiceFilter : public PluginServiceFilter {
16 ShellPluginServiceFilter();
17 virtual ~ShellPluginServiceFilter();
19 // PluginServiceFilter implementation.
20 virtual bool IsPluginAvailable(int render_process_id,
24 const GURL& policy_url,
25 WebPluginInfo* plugin) OVERRIDE;
27 virtual bool CanLoadPlugin(int render_process_id,
28 const base::FilePath& path) OVERRIDE;
32 DISALLOW_COPY_AND_ASSIGN(ShellPluginServiceFilter);
35 } // namespace content
37 #endif // CONTENT_SHELL_BROWSER_SHELL_PLUGIN_SERVICE_FILTER_H_