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

Unified Diff: chrome/browser/printing/print_preview_test.cc

Issue 19706002: Remove plugin_list.h includes from chrome tests in preparation for moving webkit/plugins to content… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix posix tests Created 7 years, 5 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/printing/print_preview_test.cc
===================================================================
--- chrome/browser/printing/print_preview_test.cc (revision 212185)
+++ chrome/browser/printing/print_preview_test.cc (working copy)
@@ -76,8 +76,8 @@
// The PluginService will be destroyed at the end of the test (due to the
// ShadowingAtExitManager in our base class).
- content::PluginService::GetInstance()->SetPluginListForTesting(
- &plugin_list_);
+ content::PluginService::GetInstance()->Init();
+ content::PluginService::GetInstance()->DisablePluginsDiscoveryForTesting();
profile()->GetPrefs()->SetBoolean(prefs::kPrintPreviewDisabled, false);
}
« no previous file with comments | « chrome/browser/printing/print_preview_test.h ('k') | chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698