| Index: chrome/test/base/testing_browser_process.cc
|
| diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
|
| index 930d6ebdf3087e18d737e3758df3b69607fa7ede..592c904c881b72beb027a62ee31997f2651410de 100644
|
| --- a/chrome/test/base/testing_browser_process.cc
|
| +++ b/chrome/test/base/testing_browser_process.cc
|
| @@ -43,7 +43,7 @@
|
| #include "components/storage_monitor/test_storage_monitor.h"
|
| #endif
|
|
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| #include "chrome/browser/printing/background_printing_manager.h"
|
| #include "chrome/browser/printing/print_preview_dialog_controller.h"
|
| #endif
|
| @@ -281,7 +281,7 @@ printing::PrintJobManager* TestingBrowserProcess::print_job_manager() {
|
|
|
| printing::PrintPreviewDialogController*
|
| TestingBrowserProcess::print_preview_dialog_controller() {
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| if (!print_preview_dialog_controller_.get())
|
| print_preview_dialog_controller_ =
|
| new printing::PrintPreviewDialogController();
|
| @@ -294,7 +294,7 @@ TestingBrowserProcess::print_preview_dialog_controller() {
|
|
|
| printing::BackgroundPrintingManager*
|
| TestingBrowserProcess::background_printing_manager() {
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| if (!background_printing_manager_.get()) {
|
| background_printing_manager_.reset(
|
| new printing::BackgroundPrintingManager());
|
|
|