Index: content/common/plugin_list.h |
diff --git a/content/common/plugin_list.h b/content/common/plugin_list.h |
index 1205238706bc0578553bed5f26eaf88f05bc0686..87319dabaf3b21e0720a883ad6cfc75489f5ab02 100644 |
--- a/content/common/plugin_list.h |
+++ b/content/common/plugin_list.h |
@@ -139,6 +139,13 @@ class CONTENT_EXPORT PluginList { |
void GetPluginPathsToLoad(std::vector<base::FilePath>* plugin_paths, |
bool include_npapi); |
+ // Signals that plugin loading will start. This method should be called before |
+ // loading plugins with a different instance of this class. Returns false if |
Robert Sesek
2014/01/21 15:17:22
This is a singleton, how would you use a different
Bernhard Bauer
2014/01/21 15:48:25
In a different process? I copied the term from lin
Robert Sesek
2014/01/21 20:58:18
That's not immediately clear, but it makes sense.
|
+ // the plugin list is up to date. |
+ // When loading has finished, SetPlugins() should be called with the list of |
+ // plugins. |
+ bool PrepareForPluginLoading(); |
+ |
// Clears the internal list of Plugins and copies them from the vector. |
void SetPlugins(const std::vector<WebPluginInfo>& plugins); |