Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / common / api / printer_provider / usb_printer_manifest_handler.h
blobbeccce254c1742abd32eae781b12be717f9ba499
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 {
14 public:
15 UsbPrinterManifestHandler();
16 ~UsbPrinterManifestHandler() override;
18 private:
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_