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