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

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

Issue 11312223: Revert 167487 - Get full WebPluginInfo for the PDF plug-in before enabling it for print preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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_tab_controller_unittest.cc
===================================================================
--- chrome/browser/printing/print_preview_tab_controller_unittest.cc (revision 167523)
+++ chrome/browser/printing/print_preview_tab_controller_unittest.cc (working copy)
@@ -16,9 +16,7 @@
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
-#include "content/public/browser/plugin_service.h"
#include "content/public/common/url_constants.h"
-#include "webkit/plugins/npapi/mock_plugin_list.h"
// Test crashes on Aura due to initiator tab's native view having no parent.
// http://crbug.com/104284
@@ -41,16 +39,8 @@
virtual void SetUp() OVERRIDE {
BrowserWithTestWindowTest::SetUp();
- // 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_);
-
profile()->GetPrefs()->SetBoolean(prefs::kPrintPreviewDisabled, false);
}
-
- private:
- webkit::npapi::MockPluginList plugin_list_;
};
// Create/Get a preview tab for initiator tab.

Powered by Google App Engine
This is Rietveld 408576698