| 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..49f5dc4cc8810e6545e506d8da0758d2e7c14022 100644
|
| --- a/content/public/browser/plugin_service.h
|
| +++ b/content/public/browser/plugin_service.h
|
| @@ -143,6 +143,11 @@ class PluginService {
|
| // This can be called from any thread.
|
| virtual bool NPAPIPluginsSupported() = 0;
|
|
|
| +#if defined(OS_WIN) || defined(OS_MACOSX)
|
| + // This is equivalent to specifying kEnableNpapi, but is useful for unittests.
|
| + virtual void EnableNpapiPluginsForTesting() = 0;
|
| +#endif
|
| +
|
| // This is equivalent to specifying kDisablePluginsDiscovery, but is useful
|
| // for unittests.
|
| virtual void DisablePluginsDiscoveryForTesting() = 0;
|
|
|