Index: chrome/browser/chrome_plugin_browsertest.cc |
=================================================================== |
--- chrome/browser/chrome_plugin_browsertest.cc (revision 256983) |
+++ chrome/browser/chrome_plugin_browsertest.cc (working copy) |
@@ -246,11 +246,9 @@ |
EnsureFlashProcessCount(1); |
} |
+#if defined(OFFICIAL_BUILD) |
// Verify that the official builds have the known set of plugins. |
IN_PROC_BROWSER_TEST_F(ChromePluginTest, InstalledPlugins) { |
-#if !defined(OFFICIAL_BUILD) |
- return; |
-#endif |
const char* expected[] = { |
"Chrome PDF Viewer", |
"Shockwave Flash", |
@@ -273,6 +271,7 @@ |
ASSERT_TRUE(j != plugins.size()) << "Didn't find " << expected[i]; |
} |
} |
+#endif |
#if defined(OS_WIN) |
@@ -286,7 +285,7 @@ |
return FALSE; |
} |
-} |
+} // namespace |
// Test that if a background tab loads an NPAPI plugin, they are displayed after |
// switching to that page. http://crbug.com/335900 |