Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1985)

Unified Diff: content/public/common/content_switches.cc

Issue 645203002: Block NPAPI plugins by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reorder initializers for clang Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 4a0c1d3c6515d6391ad653bc4183fb9da6875c03..381181232d78522cee2ca6938b7df4a63d70f1fd 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -956,6 +956,11 @@ const char kEnableWin32kRendererLockDown[]
= "enable_win32k_renderer_lockdown";
#endif
+#if defined(OS_WIN) || defined(OS_MACOSX)
jam 2014/10/20 15:50:32 can we just leave this for all to get rid of ifdef
Will Harris 2014/10/20 17:59:56 Done.
+// Enables the use of NPAPI plugins.
+const char kEnableNpapi[] = "enable-npapi";
+#endif
+
#if defined(ENABLE_PLUGINS)
// Enables the plugin power saver feature.
const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";

Powered by Google App Engine
This is Rietveld 408576698