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 2f0ddacfc1c0541f1037ecdec14df6c523dcd031..b573e38afec0a88ea1555f32794b7d651f4fbd7b 100644 |
--- a/chrome/test/base/testing_browser_process.cc |
+++ b/chrome/test/base/testing_browser_process.cc |
@@ -178,18 +178,28 @@ printing::PrintJobManager* TestingBrowserProcess::print_job_manager() { |
printing::PrintPreviewTabController* |
TestingBrowserProcess::print_preview_tab_controller() { |
+#if defined(OS_ANDROID) |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+#else |
if (!print_preview_tab_controller_.get()) |
print_preview_tab_controller_ = new printing::PrintPreviewTabController(); |
return print_preview_tab_controller_.get(); |
+#endif |
} |
printing::BackgroundPrintingManager* |
TestingBrowserProcess::background_printing_manager() { |
+#if defined(OS_ANDROID) |
+ NOTIMPLEMENTED(); |
+ return NULL; |
+#else |
if (!background_printing_manager_.get()) { |
background_printing_manager_.reset( |
new printing::BackgroundPrintingManager()); |
} |
return background_printing_manager_.get(); |
+#endif |
} |
const std::string& TestingBrowserProcess::GetApplicationLocale() { |