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_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ | 5 #ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ |
6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ | 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 | 12 |
13 namespace printing { | 13 namespace printing { |
14 struct PrinterSemanticCapsAndDefaults; | 14 struct PrinterSemanticCapsAndDefaults; |
15 } | 15 } |
16 | 16 |
17 namespace cloud_print { | 17 namespace cloud_print { |
18 | 18 |
19 scoped_ptr<base::DictionaryValue> PrinterSemanticCapsAndDefaultsToCdd( | 19 std::unique_ptr<base::DictionaryValue> PrinterSemanticCapsAndDefaultsToCdd( |
20 const printing::PrinterSemanticCapsAndDefaults& semantic_info); | 20 const printing::PrinterSemanticCapsAndDefaults& semantic_info); |
21 | 21 |
22 } // namespace cloud_print | 22 } // namespace cloud_print |
23 | 23 |
24 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ | 24 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CDD_CONVERSION_H_ |
OLD | NEW |