// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PRINTING_BACKEND_CUPS_PRINTER_H_ #define PRINTING_BACKEND_CUPS_PRINTER_H_ #include <cups/cups.h> #include <memory> #include <string> #include <string_view> #include <vector> #include "base/component_export.h" #include "printing/backend/cups_deleters.h" #include "url/gurl.h" namespace printing { struct PrinterBasicInfo; // Provides information regarding cups options. class COMPONENT_EXPORT(PRINT_BACKEND) CupsOptionProvider { … }; // Represents a CUPS printer. // Retrieves information from CUPS printer objects as requested. This class // is only valid as long as the CupsConnection which created it exists as they // share an http connection which the CupsConnection closes on destruction. class COMPONENT_EXPORT(PRINT_BACKEND) CupsPrinter : public CupsOptionProvider { … }; } // namespace printing #endif // PRINTING_BACKEND_CUPS_PRINTER_H_