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

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

Issue 2691093006: Implement IPP Get-Jobs and Get-Printer-Attributes requests. (Closed)
Patch Set: use a const array Created 3 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
« no previous file with comments | « printing/backend/cups_connection.cc ('k') | printing/backend/cups_jobs.h » ('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 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 // Methods for parsing IPP Printer attributes.
6
5 #ifndef PRINTING_BACKEND_CUPS_IPP_UTIL_H_ 7 #ifndef PRINTING_BACKEND_CUPS_IPP_UTIL_H_
6 #define PRINTING_BACKEND_CUPS_IPP_UTIL_H_ 8 #define PRINTING_BACKEND_CUPS_IPP_UTIL_H_
7 9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
11 #include "printing/backend/cups_printer.h" 13 #include "printing/backend/cups_printer.h"
12 #include "printing/backend/print_backend.h" 14 #include "printing/backend/print_backend.h"
13 15
14 namespace printing { 16 namespace printing {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 bool CollateDefault(const CupsOptionProvider& printer); 52 bool CollateDefault(const CupsOptionProvider& printer);
51 53
52 // Populates the |printer_info| object with attributes retrived using IPP from 54 // Populates the |printer_info| object with attributes retrived using IPP from
53 // |printer|. 55 // |printer|.
54 void CapsAndDefaultsFromPrinter(const CupsOptionProvider& printer, 56 void CapsAndDefaultsFromPrinter(const CupsOptionProvider& printer,
55 PrinterSemanticCapsAndDefaults* printer_info); 57 PrinterSemanticCapsAndDefaults* printer_info);
56 58
57 } // namespace printing 59 } // namespace printing
58 60
59 #endif // PRINTING_BACKEND_CUPS_IPP_UTIL_H_ 61 #endif // PRINTING_BACKEND_CUPS_IPP_UTIL_H_
OLDNEW
« no previous file with comments | « printing/backend/cups_connection.cc ('k') | printing/backend/cups_jobs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698