summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_service.h')
-rw-r--r--chrome/browser/plugin_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h
index c9ee5a1..7ab39e2 100644
--- a/chrome/browser/plugin_service.h
+++ b/chrome/browser/plugin_service.h
@@ -91,6 +91,8 @@ class PluginService
return resource_dispatcher_host_;
}
+ static void EnableChromePlugins(bool enable);
+
private:
friend struct DefaultSingletonTraits<PluginService>;
@@ -143,6 +145,9 @@ class PluginService
base::WaitableEventWatcher hklm_watcher_;
#endif
+ // Set to true if chrome plugins are enabled. Defaults to true.
+ static bool enable_chrome_plugins_;
+
DISALLOW_COPY_AND_ASSIGN(PluginService);
};