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

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: move UMA outside ifdef Created 5 years, 11 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/content_settings/content_settings_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6a15037a89c372c9ca6a80a6712566838d52e670..d87427abc4b39c23fe361de0f49a463fe4c002b0 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -500,6 +500,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,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/content_settings/content_settings_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698