OLD | NEW |
(Empty) | |
| 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. |
| 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 |
| 10 namespace extensions { |
| 11 |
| 12 // Parses the "usb_printers" manifest key. |
| 13 class UsbPrinterManifestHandler : public ManifestHandler { |
| 14 public: |
| 15 UsbPrinterManifestHandler(); |
| 16 ~UsbPrinterManifestHandler() override; |
| 17 |
| 18 private: |
| 19 // ManifestHandler overrides. |
| 20 bool Parse(Extension* extension, base::string16* error) override; |
| 21 const std::vector<std::string> Keys() const override; |
| 22 }; |
| 23 |
| 24 } // namespace extensions |
| 25 |
| 26 #endif // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_HANDLER_H
_ |
OLD | NEW |