Index: chrome/common/chrome_utility_messages.h |
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
index a926690b948cb0465cfb425c58cba8d85ada8673..b25fa66555f7f453f47f1654aac5edd6ac241c54 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -48,14 +48,13 @@ IPC_STRUCT_TRAITS_BEGIN(printing::PrinterCapsAndDefaults) |
IPC_STRUCT_TRAITS_MEMBER(defaults_mime_type) |
IPC_STRUCT_TRAITS_END() |
+IPC_ENUM_TRAITS(printing::ColorModel) |
jschuh
2014/06/06 18:49:37
Please declare both of these with IPC_ENUM_TRAITS_
Aleksey Shlyapnikov
2014/06/06 20:48:56
Done.
|
IPC_ENUM_TRAITS(printing::DuplexMode) |
-#if defined(OS_WIN) |
IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults::Paper) |
IPC_STRUCT_TRAITS_MEMBER(name) |
IPC_STRUCT_TRAITS_MEMBER(size_um) |
IPC_STRUCT_TRAITS_END() |
-#endif |
IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults) |
IPC_STRUCT_TRAITS_MEMBER(collate_capable) |
@@ -65,16 +64,12 @@ IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults) |
IPC_STRUCT_TRAITS_MEMBER(duplex_default) |
IPC_STRUCT_TRAITS_MEMBER(color_changeable) |
IPC_STRUCT_TRAITS_MEMBER(color_default) |
-#if defined(USE_CUPS) |
IPC_STRUCT_TRAITS_MEMBER(color_model) |
IPC_STRUCT_TRAITS_MEMBER(bw_model) |
-#endif |
-#if defined(OS_WIN) |
IPC_STRUCT_TRAITS_MEMBER(papers) |
IPC_STRUCT_TRAITS_MEMBER(default_paper) |
IPC_STRUCT_TRAITS_MEMBER(dpis) |
IPC_STRUCT_TRAITS_MEMBER(default_dpi) |
-#endif |
IPC_STRUCT_TRAITS_END() |
IPC_ENUM_TRAITS(printing::PwgRasterTransformType); |