| OLD | NEW | 
|---|
| 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_ | 
| OLD | NEW | 
|---|