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

Unified Diff: chrome/browser/about_flags.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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index f040401a3f49ea33b8ace1e2c2af85337cb200a7..7022cba597dd376ff412a7520f43d2ad2de3f7aa 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -583,6 +583,15 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
},
+#if defined(OS_WIN) || defined(OS_MACOSX)
+ {
+ "enable-npapi",
+ IDS_FLAGS_ENABLE_NPAPI_NAME,
+ IDS_FLAGS_ENABLE_NPAPI_DESCRIPTION,
+ kOsWin | kOsMac,
+ SINGLE_VALUE_TYPE(switches::kEnableNpapi)
+ },
+#endif
{
"disable-webrtc",
IDS_FLAGS_DISABLE_WEBRTC_NAME,

Powered by Google App Engine
This is Rietveld 408576698