OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ | 5 #ifndef EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ |
6 #define EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ | 6 #define EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "extensions/common/extension.h" | 10 #include "extensions/common/extension.h" |
11 | 11 |
12 namespace device { | 12 namespace device { |
13 class UsbDevice; | 13 class UsbDevice; |
14 class UsbDeviceFilter; | 14 struct UsbDeviceFilter; |
15 } | 15 } |
16 | 16 |
17 namespace extensions { | 17 namespace extensions { |
18 | 18 |
19 // The parsed form of the "usb_printers" manifest entry. | 19 // The parsed form of the "usb_printers" manifest entry. |
20 class UsbPrinterManifestData : public Extension::ManifestData { | 20 class UsbPrinterManifestData : public Extension::ManifestData { |
21 public: | 21 public: |
22 UsbPrinterManifestData(); | 22 UsbPrinterManifestData(); |
23 ~UsbPrinterManifestData() override; | 23 ~UsbPrinterManifestData() override; |
24 | 24 |
(...skipping 13 matching lines...) Expand all Loading... |
38 return filters_; | 38 return filters_; |
39 } | 39 } |
40 | 40 |
41 private: | 41 private: |
42 std::vector<device::UsbDeviceFilter> filters_; | 42 std::vector<device::UsbDeviceFilter> filters_; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace extensions | 45 } // namespace extensions |
46 | 46 |
47 #endif // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ | 47 #endif // EXTENSIONS_COMMON_API_PRINTER_PROVIDER_USB_PRINTER_MANIFEST_DATA_H_ |
OLD | NEW |