chromium/out/Default/gen/extensions/common/api/printer_provider_internal.h

// 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.

// GENERATED FROM THE API DEFINITION IN
//   extensions/common/api/printer_provider_internal.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#ifndef EXTENSIONS_COMMON_API_PRINTER_PROVIDER_INTERNAL_H__
#define EXTENSIONS_COMMON_API_PRINTER_PROVIDER_INTERNAL_H__

#include <stdint.h>

#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>

#include "base/values.h"
#include <string_view>
#include "extensions/common/api/printer_provider.h"


namespace extensions {
namespace api {
namespace printer_provider_internal {

//
// Types
//

// Same as in printerProvider.PrintError enum API.
enum class PrintError {};


const char* ToString(PrintError as_enum);
PrintError ParsePrintError(std::string_view as_string);
std::u16string GetPrintErrorParseError(std::string_view as_string);


//
// Functions
//

namespace ReportPrinters {

struct Params {};

}  // namespace ReportPrinters

namespace ReportUsbPrinterInfo {

struct Params {};

}  // namespace ReportUsbPrinterInfo

namespace ReportPrinterCapability {

struct Params {};

}  // namespace ReportPrinterCapability

namespace ReportPrintResult {

struct Params {};

}  // namespace ReportPrintResult

namespace GetPrintData {

struct Params {};

namespace Results {

struct Blob {};


base::Value::List Create(const Blob& blob);
}  // namespace Results

}  // namespace GetPrintData

}  // namespace printer_provider_internal
}  // namespace api
}  // namespace extensions

#endif  // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_INTERNAL_H__