Index: content/browser/plugin_service_impl.h |
diff --git a/content/browser/plugin_service_impl.h b/content/browser/plugin_service_impl.h |
index a0353e5a51d50fed4a3fcc83977070e8f9470131..a87e7df21eeeb68a783cf4aff723893f029b9c1e 100644 |
--- a/content/browser/plugin_service_impl.h |
+++ b/content/browser/plugin_service_impl.h |
@@ -108,6 +108,9 @@ class CONTENT_EXPORT PluginServiceImpl |
virtual void GetInternalPlugins( |
std::vector<WebPluginInfo>* plugins) override; |
virtual bool NPAPIPluginsSupported() override; |
+#if defined(OS_WIN) || defined(OS_MACOSX) |
jam
2014/10/16 22:10:57
do we really need these ifdefs everywhere? why not
Will Harris
2014/10/17 18:57:08
Done.
|
+ virtual void EnableNpapiPluginsForTesting() override; |
+#endif |
virtual void DisablePluginsDiscoveryForTesting() override; |
#if defined(OS_MACOSX) |
virtual void AppActivated() override; |
@@ -230,6 +233,10 @@ class CONTENT_EXPORT PluginServiceImpl |
base::WaitableEventWatcher hklm_watcher_; |
#endif |
+#if defined(OS_WIN) || defined(OS_MACOSX) |
+ bool npapi_plugins_enabled_; |
+#endif |
+ |
#if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID) |
ScopedVector<base::FilePathWatcher> file_watchers_; |
#endif |