Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: printing/backend/win_helper.h

Issue 9812002: Include driver infor into PrinterBasicInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/backend/win_helper.h
diff --git a/printing/backend/win_helper.h b/printing/backend/win_helper.h
index 667609d584c0b5fb6b09812647de3c7d2faba823..1efe61437a17802c2a3d13ed3ea601c4cbb6ee5f 100644
--- a/printing/backend/win_helper.h
+++ b/printing/backend/win_helper.h
@@ -11,6 +11,9 @@
#include <prntvpt.h>
#include <xpsprint.h>
+#include <string>
+
+#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "base/win/scoped_handle.h"
#include "printing/printing_export.h"
@@ -18,6 +21,8 @@
// These are helper functions for dealing with Windows Printing.
namespace printing {
+struct PRINTING_EXPORT PrinterBasicInfo;
+
class PrinterHandleTraits {
public:
typedef HANDLE Handle;
@@ -120,6 +125,21 @@ class PRINTING_EXPORT XPSPrintModule {
static bool InitImpl();
};
+PRINTING_EXPORT const PRINTER_INFO_2* GetPrinterInfo2(
gene 2012/03/21 21:07:22 Could you please create a simple class representin
Vitaly Buka (NO REVIEWS) 2012/03/21 21:23:01 need to talk about that On 2012/03/21 21:07:22, g
+ HANDLE printer,
+ scoped_array<BYTE>* buffer);
+
+PRINTING_EXPORT const DRIVER_INFO_6* GetDriverInfo6(
gene 2012/03/21 21:07:22 Could you please create a simple class representin
Vitaly Buka (NO REVIEWS) 2012/03/21 21:23:01 need to talk about that On 2012/03/21 21:07:22, g
+ HANDLE printer,
+ scoped_array<BYTE>* buffer);
+
+PRINTING_EXPORT void InitBasicPrinterInfo(
+ const PRINTER_INFO_2* printer,
+ const DRIVER_INFO_6* driver,
+ printing::PrinterBasicInfo* printer_info);
+
+PRINTING_EXPORT std::string GetDriverInfo(const DRIVER_INFO_6* driver);
+
} // namespace printing
#endif // PRINTING_BACKEND_WIN_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698