Index: content/browser/plugin_service.h |
diff --git a/content/browser/plugin_service.h b/content/browser/plugin_service.h |
index 6be2c4f3623da48ed3d5fab10ca438be07473a8b..24d0db62dc4806da06ab927748a0288f11513108 100644 |
--- a/content/browser/plugin_service.h |
+++ b/content/browser/plugin_service.h |
@@ -81,6 +81,9 @@ class CONTENT_EXPORT PluginService |
// Returns the PluginService singleton. |
static PluginService* GetInstance(); |
+ // Must be called on the instance to finish initialization. |
+ void Init(webkit::npapi::PluginList* plugin_list); |
+ |
// Starts watching for changes in the list of installed plug-ins. |
void StartWatchingPlugins(); |
@@ -173,7 +176,6 @@ class CONTENT_EXPORT PluginService |
} |
content::PluginServiceFilter* filter() { return filter_; } |
- |
// The following functions are wrappers around webkit::npapi::PluginList. |
// These must be used instead of those in order to ensure that we have a |
// single global list in the component build and so that we don't |
@@ -245,6 +247,9 @@ class CONTENT_EXPORT PluginService |
base::files::FilePathWatcher::Delegate* delegate); |
#endif |
+ // The plugin list instance. |
+ webkit::npapi::PluginList* plugin_list_; |
+ |
// The browser's UI locale. |
const std::string ui_locale_; |