Index: chrome/browser/extensions/api/usb/usb_api.cc |
diff --git a/chrome/browser/extensions/api/usb/usb_api.cc b/chrome/browser/extensions/api/usb/usb_api.cc |
index 1898fcb57184341c2aacf811a24c6895f4cf5c19..48a6840b6795695f57b0d3e9b5e2043e1a91b89c 100644 |
--- a/chrome/browser/extensions/api/usb/usb_api.cc |
+++ b/chrome/browser/extensions/api/usb/usb_api.cc |
@@ -65,7 +65,9 @@ const char kErrorOpen[] = "Failed to open device."; |
const char kErrorCancelled[] = "Transfer was cancelled."; |
const char kErrorDisconnect[] = "Device disconnected."; |
const char kErrorGeneric[] = "Transfer failed."; |
+#if !defined(OS_CHROMEOS) |
const char kErrorNotSupported[] = "Not supported on this platform."; |
+#endif |
const char kErrorOverflow[] = "Inbound transfer overflow."; |
const char kErrorStalled[] = "Transfer stalled."; |
const char kErrorTimeout[] = "Transfer timed out."; |