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

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..7c35cbeb579e4bdcd508de25f4ff5c4e0e28c237 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,11 @@ class PRINTING_EXPORT XPSPrintModule {
static bool InitImpl();
};
+PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer,
+ PrinterBasicInfo* printer_info);
+
+PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer);
+
} // namespace printing
#endif // PRINTING_BACKEND_WIN_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698