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

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

Issue 2105463002: Create a new print backend for the updated CUPS APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typos 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
6 #define PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
7
8 #include <string>
9
10 #include "printing/backend/cups_connection.h"
11 #include "printing/backend/print_backend.h"
12 #include "url/gurl.h"
13
14 namespace printing {
15
16 class PrintBackendCupsIpp : public PrintBackend {
17 public:
18 explicit PrintBackendCupsIpp(CupsConnection&& connection);
19
20 private:
21 ~PrintBackendCupsIpp() override {}
22
23 // PrintBackend implementation.
24 bool EnumeratePrinters(PrinterList* printer_list) override;
25 std::string GetDefaultPrinterName() override;
26 bool GetPrinterBasicInfo(const std::string& printer_name,
27 PrinterBasicInfo* printer_info) override;
28 bool GetPrinterSemanticCapsAndDefaults(
29 const std::string& printer_name,
30 PrinterSemanticCapsAndDefaults* printer_info) override;
31 bool GetPrinterCapsAndDefaults(const std::string& printer_name,
32 PrinterCapsAndDefaults* printer_info) override;
33 std::string GetPrinterDriverInfo(const std::string& printer_name) override;
34 bool IsValidPrinter(const std::string& printer_name) override;
35
36 CupsConnection cups_connection_;
37 };
38
39 } // namespace printing
40
41 #endif // PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698