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

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

Issue 2258333004: Fix compiling with CUPS 2.2 backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HELPER_H_ 5 #ifndef PRINTING_BACKEND_CUPS_HELPER_H_
6 #define PRINTING_BACKEND_CUPS_HELPER_H_ 6 #define PRINTING_BACKEND_CUPS_HELPER_H_
7 7
8 #include <cups/cups.h> 8 #include <cups/cups.h>
9 #include <cups/ppd.h>
9 10
10 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
11 #include "printing/printing_export.h" 12 #include "printing/printing_export.h"
12 13
13 class GURL; 14 class GURL;
14 15
15 // These are helper functions for dealing with CUPS. 16 // These are helper functions for dealing with CUPS.
16 namespace printing { 17 namespace printing {
17 18
18 struct PrinterSemanticCapsAndDefaults; 19 struct PrinterSemanticCapsAndDefaults;
(...skipping 17 matching lines...) Expand all
36 // Helper function to parse and convert PPD capabilitites to 37 // Helper function to parse and convert PPD capabilitites to
37 // semantic options. 38 // semantic options.
38 PRINTING_EXPORT bool ParsePpdCapabilities( 39 PRINTING_EXPORT bool ParsePpdCapabilities(
39 base::StringPiece printer_name, 40 base::StringPiece printer_name,
40 base::StringPiece printer_capabilities, 41 base::StringPiece printer_capabilities,
41 PrinterSemanticCapsAndDefaults* printer_info); 42 PrinterSemanticCapsAndDefaults* printer_info);
42 43
43 } // namespace printing 44 } // namespace printing
44 45
45 #endif // PRINTING_BACKEND_CUPS_HELPER_H_ 46 #endif // PRINTING_BACKEND_CUPS_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698