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

Side by Side Diff: chrome/service/cloud_print/cdd_conversion_win.h

Issue 1899083002: Convert //chrome from scoped_ptr 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_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 <windows.h> 8 #include <windows.h>
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/memory/free_deleter.h" 13 #include "base/memory/free_deleter.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 15
16 namespace cloud_print { 16 namespace cloud_print {
17 17
18 bool IsValidCjt(const std::string& print_ticket); 18 bool IsValidCjt(const std::string& print_ticket);
19 19
20 scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode( 20 std::unique_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
21 const base::string16& printer_name, 21 const base::string16& printer_name,
22 const std::string& print_ticket); 22 const std::string& print_ticket);
23 23
24 } // namespace cloud_print 24 } // namespace cloud_print
25 25
26 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ 26 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698