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

Unified Diff: chrome/browser/plugins/plugin_prefs_unittest.cc

Issue 645203002: Block NPAPI plugins by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing test file 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/plugins/plugin_prefs_unittest.cc
diff --git a/chrome/browser/plugins/plugin_prefs_unittest.cc b/chrome/browser/plugins/plugin_prefs_unittest.cc
index 217a4ae938ef67c37e19dbcd74e67b1cdf55fa99..6da27bccd105ae8ed6034d0e57d5ad827c4b4661 100644
--- a/chrome/browser/plugins/plugin_prefs_unittest.cc
+++ b/chrome/browser/plugins/plugin_prefs_unittest.cc
@@ -210,6 +210,9 @@ TEST_F(PluginPrefsTest, UnifiedPepperFlashState) {
PluginService::GetInstance()->Init();
PluginService::GetInstance()->DisablePluginsDiscoveryForTesting();
+#if defined(OS_WIN) || defined(OS_MACOSX)
+ PluginService::GetInstance()->EnableNpapiPluginsForTesting();
+#endif
base::string16 component_updated_plugin_name(
ASCIIToUTF16("Component-updated Pepper Flash"));

Powered by Google App Engine
This is Rietveld 408576698