1 // 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.
5 #ifndef EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_
6 #define EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_
8 #include "extensions/common/manifest_handler.h"
10 namespace extensions
{
12 // Parses the "usb_printers" manifest key.
13 class UsbPrinterManifestHandler
: public ManifestHandler
{
15 UsbPrinterManifestHandler();
16 ~UsbPrinterManifestHandler() override
;
19 // ManifestHandler overrides.
20 bool Parse(Extension
* extension
, base::string16
* error
) override
;
21 const std::vector
<std::string
> Keys() const override
;
24 } // namespace extensions
26 #endif // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H_