Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: extensions/common/api/printer_provider/usb_printer_manifest_handler.h

Issue 1123093003: Add a manifest property declaring USB printers supported by an app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interfaceProtocol documentation. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698