Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
index c9ff3bdc12f6a7e3547fcf21f69444fe15a3997f..cbc6e1bf4a4063c5a80124c51187227f9734111e 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
@@ -78,11 +78,11 @@ class PrintPreviewHandler |
// Called when print preview failed. |
void OnPrintPreviewFailed(); |
-#if !defined(DISABLE_BASIC_PRINTING) |
+#if defined(ENABLE_BASIC_PRINTING) |
// Called when the user press ctrl+shift+p to display the native system |
// dialog. |
void ShowSystemDialog(); |
-#endif // !DISABLE_BASIC_PRINTING |
+#endif // ENABLE_BASIC_PRINTING |
#if defined(ENABLE_SERVICE_DISCOVERY) |
// PrivetLocalPrinterLister::Delegate implementation. |
@@ -149,11 +149,11 @@ class PrintPreviewHandler |
// Gets the printer capabilities. First element of |args| is the printer name. |
void HandleGetPrinterCapabilities(const base::ListValue* args); |
-#if !defined(DISABLE_BASIC_PRINTING) |
+#if defined(ENABLE_BASIC_PRINTING) |
// Asks the initiator renderer to show the native print system dialog. |args| |
// is unused. |
void HandleShowSystemDialog(const base::ListValue* args); |
-#endif // !DISABLE_BASIC_PRINTING |
+#endif // ENABLE_BASIC_PRINTING |
// Callback for the signin dialog to call once signin is complete. |
void OnSigninComplete(); |