Index: content/public/browser/plugin_service.h |
diff --git a/content/public/browser/plugin_service.h b/content/public/browser/plugin_service.h |
index 696800f3f2867e0e6d8bdb7dc9c1f4bf4ac3b5fe..c62d34663ec7672ef4922ee77a6d467e20527d8a 100644 |
--- a/content/public/browser/plugin_service.h |
+++ b/content/public/browser/plugin_service.h |
@@ -143,6 +143,9 @@ class PluginService { |
// This can be called from any thread. |
virtual bool NPAPIPluginsSupported() = 0; |
+ // This is equivalent to specifying kEnableNpapi, but is useful for unittests. |
+ virtual void EnableNpapiPluginsForTesting() = 0; |
+ |
// This is equivalent to specifying kDisablePluginsDiscovery, but is useful |
// for unittests. |
virtual void DisablePluginsDiscoveryForTesting() = 0; |