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

Unified Diff: chrome/service/cloud_print/cdd_conversion_win.h

Issue 147953009: Fallback to CDD/CJT if connector can't initialize XPS API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cdd_conversion_win.h
diff --git a/chrome/service/cloud_print/cdd_conversion_win.h b/chrome/service/cloud_print/cdd_conversion_win.h
index 0855922f2263aa22fc48531dd85d6122092152c6..cd751c49b1c06889d34199bdca7f7a3c30363f67 100644
--- a/chrome/service/cloud_print/cdd_conversion_win.h
+++ b/chrome/service/cloud_print/cdd_conversion_win.h
@@ -6,6 +6,10 @@
#define CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_
#include <string>
+#include <windows.h>
+
+#include "base/memory/scoped_ptr.h"
+#include "base/strings/string16.h"
namespace printing {
struct PrinterSemanticCapsAndDefaults;
@@ -13,6 +17,11 @@ struct PrinterSemanticCapsAndDefaults;
namespace cloud_print {
+bool IsValidCjt(const std::string& print_ticket);
+
+scoped_ptr<DEVMODE[]> CjtToDevMode(const base::string16& printer_name,
+ const std::string& print_ticket);
+
std::string CapabilitiesToCdd(
const printing::PrinterSemanticCapsAndDefaults& semantic_info);
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698