| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_UTILITY_PRINTING_HANDLER_H_ | 5 #ifndef CHROME_UTILITY_PRINTING_HANDLER_H_ |
| 6 #define CHROME_UTILITY_PRINTING_HANDLER_H_ | 6 #define CHROME_UTILITY_PRINTING_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" |
| 10 #include "chrome/utility/utility_message_handler.h" | 11 #include "chrome/utility/utility_message_handler.h" |
| 11 #include "ipc/ipc_platform_file.h" | 12 #include "ipc/ipc_platform_file.h" |
| 12 #include "printing/pdf_render_settings.h" | 13 #include "printing/pdf_render_settings.h" |
| 13 | 14 |
| 14 #if !defined(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN) | 15 #if !defined(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN) |
| 15 #error "Windows or full printing must be enabled" | 16 #error "Windows or full printing must be enabled" |
| 16 #endif | 17 #endif |
| 17 | 18 |
| 18 namespace printing { | 19 namespace printing { |
| 19 | 20 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 std::vector<char> pdf_data_; | 68 std::vector<char> pdf_data_; |
| 68 PdfRenderSettings pdf_rendering_settings_; | 69 PdfRenderSettings pdf_rendering_settings_; |
| 69 #endif | 70 #endif |
| 70 | 71 |
| 71 DISALLOW_COPY_AND_ASSIGN(PrintingHandler); | 72 DISALLOW_COPY_AND_ASSIGN(PrintingHandler); |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace printing | 75 } // namespace printing |
| 75 | 76 |
| 76 #endif // CHROME_UTILITY_PRINTING_HANDLER_H_ | 77 #endif // CHROME_UTILITY_PRINTING_HANDLER_H_ |
| OLD | NEW |