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

Side by Side Diff: chrome/common/cloud_print/cloud_print_cdd_conversion.h

Issue 1880143002: Convert chrome/common to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths_mac.mm ('k') | chrome/common/cloud_print/cloud_print_cdd_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698