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

Unified Diff: chrome/browser/chromeos/printing/usb_printer_util.h

Issue 2727633004: Change UsbDeviceFilter to use const references instead of (Closed)
Patch Set: Fix callsite missed earlier due to not building for CrOS Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/printing/usb_printer_util.h
diff --git a/chrome/browser/chromeos/printing/usb_printer_util.h b/chrome/browser/chromeos/printing/usb_printer_util.h
index 5ce404eb5bd117d4c5baeeaa00d0baeb0d302919..4a36086746f75885bd73d5a651a4ff46209d46fc 100644
--- a/chrome/browser/chromeos/printing/usb_printer_util.h
+++ b/chrome/browser/chromeos/printing/usb_printer_util.h
@@ -20,7 +20,7 @@ namespace chromeos {
class Printer;
-bool UsbDeviceIsPrinter(scoped_refptr<device::UsbDevice> usb_device);
+bool UsbDeviceIsPrinter(const device::UsbDevice& usb_device);
// Convert the interesting details of a device to a string, for
// logging/debugging.

Powered by Google App Engine
This is Rietveld 408576698