1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ash / webui / print_preview_cros / backend / pdf_printer_handler.h [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WEBUI_PRINT_PREVIEW_CROS_BACKEND_PDF_PRINTER_HANDLER_H_
#define ASH_WEBUI_PRINT_PREVIEW_CROS_BACKEND_PDF_PRINTER_HANDLER_H_
#include "ash/webui/print_preview_cros/mojom/printer_capabilities.mojom.h"
namespace ash::printing::print_preview {
// Handler responsible for providing PDF printing functionalities for CrOS
// Print Preview.
class PdfPrinterHandler {
public:
PdfPrinterHandler() = default;
PdfPrinterHandler(const PdfPrinterHandler&) = delete;
PdfPrinterHandler& operator=(const PdfPrinterHandler&) = delete;
~PdfPrinterHandler() = default;
mojom::CapabilitiesPtr FetchCapabilities(const std::string& destination_id);
};
} // namespace ash::printing::print_preview
#endif // ASH_WEBUI_PRINT_PREVIEW_CROS_BACKEND_PDF_PRINTER_HANDLER_H_