| 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_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ |
| 6 #define CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 | 10 |
| 11 namespace printing { | 11 namespace printing { |
| 12 struct PrinterSemanticCapsAndDefaults; | 12 struct PrinterSemanticCapsAndDefaults; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace cloud_print { | 15 namespace cloud_print { |
| 16 | 16 |
| 17 bool IsValidCjt(const std::string& print_ticket); |
| 18 |
| 19 scoped_ptr<DEVMODE[]> CjtToDevMode(const base::string16& printer_name, |
| 20 const std::string& print_ticket); |
| 21 |
| 17 std::string CapabilitiesToCdd( | 22 std::string CapabilitiesToCdd( |
| 18 const printing::PrinterSemanticCapsAndDefaults& semantic_info); | 23 const printing::PrinterSemanticCapsAndDefaults& semantic_info); |
| 19 | 24 |
| 20 } // namespace cloud_print | 25 } // namespace cloud_print |
| 21 | 26 |
| 22 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ | 27 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ |
| OLD | NEW |