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

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

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 <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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698