diff options
Diffstat (limited to 'chrome/browser/plugin_updater.h')
-rw-r--r-- | chrome/browser/plugin_updater.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chrome/browser/plugin_updater.h b/chrome/browser/plugin_updater.h index dc18595..5264334 100644 --- a/chrome/browser/plugin_updater.h +++ b/chrome/browser/plugin_updater.h @@ -12,19 +12,15 @@ #include "base/file_path.h" #include "base/singleton.h" #include "chrome/common/notification_observer.h" +#include "webkit/glue/plugins/plugin_list.h" class DictionaryValue; class ListValue; class NotificationDetails; class NotificationSource; -class Profile; - -namespace webkit { -namespace npapi { class PluginGroup; +class Profile; struct WebPluginInfo; -} -} class PluginUpdater : public NotificationObserver { public: @@ -62,8 +58,8 @@ class PluginUpdater : public NotificationObserver { // Called on the UI thread with the plugin data to save the preferences. static void OnUpdatePreferences( Profile* profile, - const std::vector<webkit::npapi::WebPluginInfo>& plugins, - const std::vector<webkit::npapi::PluginGroup>& groups); + const std::vector<WebPluginInfo>& plugins, + const std::vector<PluginGroup>& groups); // Queues sending the notification that plugin data has changed. This is done // so that if a bunch of changes happen, we only send one notification. @@ -72,8 +68,7 @@ class PluginUpdater : public NotificationObserver { // Used for the post task to notify that plugin enabled status changed. static void OnNotifyPluginStatusChanged(); - static DictionaryValue* CreatePluginFileSummary( - const webkit::npapi::WebPluginInfo& plugin); + static DictionaryValue* CreatePluginFileSummary(const WebPluginInfo& plugin); // Force plugins to be disabled due to policy. |plugins| contains // the list of StringValues of the names of the policy-disabled plugins. |