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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 9695038: Android: Remove a few more printing sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better rebase Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698