Chromium Code Reviews| Index: webkit/plugins/npapi/plugin_list.h |
| =================================================================== |
| --- webkit/plugins/npapi/plugin_list.h (revision 204062) |
| +++ webkit/plugins/npapi/plugin_list.h (working copy) |
| @@ -65,6 +65,10 @@ |
| const std::string& mime_type, |
| bool allow_wildcard); |
| + // Disables discovery of third_party plugins in common places next time |
|
Bernhard Bauer
2013/06/06 08:28:50
s/common/well-known/?
seva
2013/06/06 22:11:25
I don't know how well known these are :) everythin
Bernhard Bauer
2013/06/07 10:33:43
Standard is relative as well, I guess ;-)
But "st
|
| + // plugins are loaded. |
| + void DisablePluginsDiscovery(); |
| + |
| // Cause the plugin list to refresh next time they are accessed, regardless |
| // of whether they are already loaded. |
| void RefreshPlugins(); |
| @@ -189,6 +193,10 @@ |
| #endif |
| protected: |
| + // Flag indicating whether third_party plugins will be searched for |
| + // in common places. |
| + bool plugins_discovery_disabled_; |
|
Bernhard Bauer
2013/06/06 08:28:50
I don't think this needs to be protected.
seva
2013/06/06 22:11:25
Indeed; moved down to private: section. Thanks.
|
| + |
| // Constructors are private for singletons but we expose this one |
| // for subclasses for test purposes. |
| PluginList(); |