Index: chrome/browser/ui/webui/print_preview/extension_printer_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview/extension_printer_handler.h b/chrome/browser/ui/webui/print_preview/extension_printer_handler.h |
index 5f3d1bb2efa8e3850f7a671551fce147987c02b4..9995184afd6a0b8c6d794aa1721b2c9b3fa96feb 100644 |
--- a/chrome/browser/ui/webui/print_preview/extension_printer_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/extension_printer_handler.h |
@@ -6,7 +6,6 @@ |
#define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_EXTENSION_PRINTER_HANDLER_H_ |
#include <string> |
-#include <vector> |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -28,10 +27,6 @@ |
namespace cloud_devices { |
class CloudDeviceDescription; |
-} |
- |
-namespace device { |
-class UsbDevice; |
} |
namespace gfx { |
@@ -98,7 +93,7 @@ |
// They just propagate results to callbacks passed to them. |
void WrapGetPrintersCallback( |
const PrinterHandler::GetPrintersCallback& callback, |
- const base::ListValue& printers, |
+ const base::ListValue& pritners, |
bool done); |
void WrapGetCapabilityCallback( |
const PrinterHandler::GetCapabilityCallback& callback, |
@@ -107,14 +102,10 @@ |
void WrapPrintCallback(const PrinterHandler::PrintCallback& callback, |
bool success, |
const std::string& status); |
- void OnUsbDevicesEnumerated( |
- const PrinterHandler::GetPrintersCallback& callback, |
- const std::vector<scoped_refptr<device::UsbDevice>>& devices); |
content::BrowserContext* browser_context_; |
scoped_ptr<local_discovery::PWGRasterConverter> pwg_raster_converter_; |
- int pending_enumeration_count_ = 0; |
scoped_refptr<base::TaskRunner> slow_task_runner_; |