OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 PRINTING_BACKEND_WIN_HELPER_H_ | 5 #ifndef PRINTING_BACKEND_WIN_HELPER_H_ |
6 #define PRINTING_BACKEND_WIN_HELPER_H_ | 6 #define PRINTING_BACKEND_WIN_HELPER_H_ |
7 | 7 |
8 #include <objidl.h> | 8 #include <objidl.h> |
9 #include <winspool.h> | 9 #include <winspool.h> |
10 #include <prntvpt.h> | 10 #include <prntvpt.h> |
11 #include <xpsprint.h> | 11 #include <xpsprint.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/win/scoped_handle.h" | 16 #include "base/win/scoped_handle.h" |
17 #include "printing/printing_export.h" | 17 #include "printing/printing_export.h" |
18 | 18 |
19 // These are helper functions for dealing with Windows Printing. | 19 // These are helper functions for dealing with Windows Printing. |
20 namespace printing { | 20 namespace printing { |
21 | 21 |
22 struct PRINTING_EXPORT PrinterBasicInfo; | 22 struct PRINTING_EXPORT PrinterBasicInfo; |
23 | 23 |
24 class PrinterHandleTraits { | 24 class PrinterHandleTraits { |
25 public: | 25 public: |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 }; | 125 }; |
126 | 126 |
127 PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer, | 127 PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer, |
128 PrinterBasicInfo* printer_info); | 128 PrinterBasicInfo* printer_info); |
129 | 129 |
130 PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer); | 130 PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer); |
131 | 131 |
132 } // namespace printing | 132 } // namespace printing |
133 | 133 |
134 #endif // PRINTING_BACKEND_WIN_HELPER_H_ | 134 #endif // PRINTING_BACKEND_WIN_HELPER_H_ |
OLD | NEW |