| Index: extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
|
| diff --git a/extensions/common/api/printer_provider/usb_printer_manifest_handler.cc b/extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
|
| similarity index 55%
|
| copy from extensions/common/api/printer_provider/usb_printer_manifest_handler.cc
|
| copy to extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
|
| index e356050b7e116491badda09cbf2b7022029ed061..88861c4b74141d565c6d684dfe98c8297cff2f78 100644
|
| --- a/extensions/common/api/printer_provider/usb_printer_manifest_handler.cc
|
| +++ b/extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc
|
| @@ -4,9 +4,7 @@
|
|
|
| #include "extensions/common/api/printer_provider/usb_printer_manifest_handler.h"
|
|
|
| -#include "extensions/common/api/printer_provider/usb_printer_manifest_data.h"
|
| #include "extensions/common/extension.h"
|
| -#include "extensions/common/manifest_constants.h"
|
|
|
| namespace extensions {
|
|
|
| @@ -18,20 +16,11 @@ UsbPrinterManifestHandler::~UsbPrinterManifestHandler() {
|
|
|
| bool UsbPrinterManifestHandler::Parse(Extension* extension,
|
| base::string16* error) {
|
| - const base::Value* usb_printers = nullptr;
|
| - CHECK(extension->manifest()->Get(manifest_keys::kUsbPrinters, &usb_printers));
|
| - scoped_ptr<UsbPrinterManifestData> data =
|
| - UsbPrinterManifestData::FromValue(*usb_printers, error);
|
| - if (!data) {
|
| - return false;
|
| - }
|
| -
|
| - extension->SetManifestData(manifest_keys::kUsbPrinters, data.release());
|
| - return true;
|
| + return false;
|
| }
|
|
|
| const std::vector<std::string> UsbPrinterManifestHandler::Keys() const {
|
| - return SingleKey(manifest_keys::kUsbPrinters);
|
| + return std::vector<std::string>();
|
| }
|
|
|
| } // namespace extensions
|
|
|