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