| Index: printing/backend/print_backend_cups_ipp.h
|
| diff --git a/printing/backend/print_backend_cups_ipp.h b/printing/backend/print_backend_cups_ipp.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d5641e1ff2ab0398ec320485f4d3a2130b1e4a6
|
| --- /dev/null
|
| +++ b/printing/backend/print_backend_cups_ipp.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
|
| +#define PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "printing/backend/cups_connection.h"
|
| +#include "printing/backend/print_backend.h"
|
| +#include "url/gurl.h"
|
| +
|
| +namespace printing {
|
| +
|
| +class PrintBackendCupsIpp : public PrintBackend {
|
| + public:
|
| + explicit PrintBackendCupsIpp(CupsConnection&& connection);
|
| +
|
| + private:
|
| + ~PrintBackendCupsIpp() override {}
|
| +
|
| + // PrintBackend implementation.
|
| + bool EnumeratePrinters(PrinterList* printer_list) override;
|
| + std::string GetDefaultPrinterName() override;
|
| + bool GetPrinterBasicInfo(const std::string& printer_name,
|
| + PrinterBasicInfo* printer_info) override;
|
| + bool GetPrinterSemanticCapsAndDefaults(
|
| + const std::string& printer_name,
|
| + PrinterSemanticCapsAndDefaults* printer_info) override;
|
| + bool GetPrinterCapsAndDefaults(const std::string& printer_name,
|
| + PrinterCapsAndDefaults* printer_info) override;
|
| + std::string GetPrinterDriverInfo(const std::string& printer_name) override;
|
| + bool IsValidPrinter(const std::string& printer_name) override;
|
| +
|
| + CupsConnection cups_connection_;
|
| +};
|
| +
|
| +} // namespace printing
|
| +
|
| +#endif // PRINTING_BACKEND_PRINT_BACKEND_CUPS_IPP_H_
|
|
|