Index: chrome/browser/printing/print_view_manager_base.h |
diff --git a/chrome/browser/printing/print_view_manager_base.h b/chrome/browser/printing/print_view_manager_base.h |
index 7a93fe1f3a4876f86f2a8cc2713e3ab3a75164b4..1c84f2bdab97c1ae57de5a7301f7cecc0ff3d4ea 100644 |
--- a/chrome/browser/printing/print_view_manager_base.h |
+++ b/chrome/browser/printing/print_view_manager_base.h |
@@ -35,10 +35,12 @@ class PrintViewManagerBase : public content::NotificationObserver, |
public: |
virtual ~PrintViewManagerBase(); |
+#if !defined(DISABLE_BASIC_PRINTING) |
// Prints the current document immediately. Since the rendering is |
// asynchronous, the actual printing will not be completed on the return of |
// this function. Returns false if printing is impossible at the moment. |
virtual bool PrintNow(); |
+#endif // !DISABLE_BASIC_PRINTING |
// Whether to block scripted printing for our tab or not. |
void UpdateScriptedPrintingBlocked(); |