Remove PluginSelectionPolicy since it's not used anymore.
Review URL: http://codereview.chromium.org/7038011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85669 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/plugin_service.h b/content/browser/plugin_service.h
index 75a6794..ea49590 100644
--- a/content/browser/plugin_service.h
+++ b/content/browser/plugin_service.h
@@ -37,16 +37,6 @@
#include "base/files/file_path_watcher.h"
#endif
-#if defined(OS_CHROMEOS)
-namespace chromeos {
-class PluginSelectionPolicy;
-}
-#endif
-
-namespace IPC {
-class Message;
-}
-
class MessageLoop;
struct PepperPluginInfo;
class PluginDirWatcherDelegate;
@@ -106,14 +96,14 @@
void OpenChannelToPpapiBroker(const FilePath& path,
PpapiBrokerProcessHost::Client* client);
- // Gets the first allowed plugin in the list of plugins that matches
- // the given url and mime type. Must be called on the FILE thread.
- bool GetFirstAllowedPluginInfo(int render_process_id,
- int render_view_id,
- const GURL& url,
- const std::string& mime_type,
- webkit::npapi::WebPluginInfo* info,
- std::string* actual_mime_type);
+ // Gets the plugin in the list of plugins that matches the given url and mime
+ // type. Must be called on the FILE thread.
+ bool GetPluginInfo(int render_process_id,
+ int render_view_id,
+ const GURL& url,
+ const std::string& mime_type,
+ webkit::npapi::WebPluginInfo* info,
+ std::string* actual_mime_type);
// Safe to be called from any thread.
void OverridePluginForTab(const OverriddenPlugin& plugin);
@@ -190,10 +180,6 @@
NotificationRegistrar registrar_;
-#if defined(OS_CHROMEOS)
- scoped_refptr<chromeos::PluginSelectionPolicy> plugin_selection_policy_;
-#endif
-
#if defined(OS_WIN)
// Registry keys for getting notifications when new plugins are installed.
base::win::RegKey hkcu_key_;