Index: chrome/common/chrome_utility_messages.h |
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
index 0f58ce587dcf388f5b9bb1ad0c721e49ffc4f13f..df8aefa877231a57427d321d4ac34869f0ce3fea 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -161,11 +161,13 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded, |
IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed, |
std::string /* error message, if any*/) |
+#if defined(ENABLE_PRINTING) |
// Reply when the utility process has succeeded in obtaining the printer |
// capabilities and defaults. |
IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
std::string /* printer name */, |
printing::PrinterCapsAndDefaults) |
+#endif |
// Reply when the utility process has failed to obtain the printer |
// capabilities and defaults. |