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

Side by Side Diff: printing/backend/cups_deleters.h

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: lint Created 4 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 PRINTING_BACKEND_CUPS_DELETERS_H_ 5 #ifndef PRINTING_BACKEND_CUPS_DELETERS_H_
6 #define PRINTING_BACKEND_CUPS_DELETERS_H_ 6 #define PRINTING_BACKEND_CUPS_DELETERS_H_
7 7
8 #include <cups/cups.h> 8 #include <cups/cups.h>
9 9
10 namespace printing { 10 namespace printing {
11 11
12 struct HttpDeleter { 12 struct HttpDeleter {
13 public: 13 public:
14 void operator()(http_t* http) const; 14 void operator()(http_t* http) const;
15 }; 15 };
16 16
17 struct DestinationDeleter { 17 struct DestinationDeleter {
18 public: 18 public:
19 void operator()(cups_dest_t* dest) const; 19 void operator()(cups_dest_t* dest) const;
20 }; 20 };
21 21
22 struct DestInfoDeleter { 22 struct DestInfoDeleter {
23 public: 23 public:
24 void operator()(cups_dinfo_t* info) const; 24 void operator()(cups_dinfo_t* info) const;
25 }; 25 };
26 26
27 struct OptionDeleter {
28 public:
29 void operator()(cups_option_t* option) const;
30 };
31
27 } // namespace printing 32 } // namespace printing
28 33
29 #endif // PRINTING_BACKEND_CUPS_DELETERS_H_ 34 #endif // PRINTING_BACKEND_CUPS_DELETERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698