[go: nahoru, domu]

blob: 25ebabaecdd8e3a0a269d2381debf0e2355712b2 [file] [log] [blame]
reillyg1f30d4f2015-05-07 21:48:161// Copyright 2015 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 EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_
6#define EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_
7
8#include "extensions/common/manifest_handler.h"
9
10namespace extensions {
11
12// Parses the "usb_printers" manifest key.
13class UsbPrinterManifestHandler : public ManifestHandler {
14 public:
15 UsbPrinterManifestHandler();
16 ~UsbPrinterManifestHandler() override;
17
18 private:
19 // ManifestHandler overrides.
Jan Wilken Dörrie85285b02021-03-11 23:38:4720 bool Parse(Extension* extension, std::u16string* error) override;
Jeremy Roman16cdbd02018-04-16 16:02:2221 base::span<const char* const> Keys() const override;
reillyg1f30d4f2015-05-07 21:48:1622};
23
24} // namespace extensions
25
26#endif // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_