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

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

Issue 191913002: scoped_ptr<DEVMODE[]> replaced with scoped_ptr<DEVMODE, base::FreeDeleter>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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> 8 #include <string>
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 13
14 namespace printing { 14 namespace printing {
15 struct PrinterSemanticCapsAndDefaults; 15 struct PrinterSemanticCapsAndDefaults;
16 } 16 }
17 17
18 namespace cloud_print { 18 namespace cloud_print {
19 19
20 bool IsValidCjt(const std::string& print_ticket); 20 bool IsValidCjt(const std::string& print_ticket);
21 21
22 scoped_ptr<DEVMODE[]> CjtToDevMode(const base::string16& printer_name, 22 scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
23 const std::string& print_ticket); 23 const base::string16& printer_name,
24 const std::string& print_ticket);
24 25
25 std::string CapabilitiesToCdd( 26 std::string CapabilitiesToCdd(
26 const printing::PrinterSemanticCapsAndDefaults& semantic_info); 27 const printing::PrinterSemanticCapsAndDefaults& semantic_info);
27 28
28 } // namespace cloud_print 29 } // namespace cloud_print
29 30
30 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ 31 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698