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

Unified Diff: content/renderer/usb/web_usb_device_impl.cc

Issue 1309103002: Revert of Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « content/renderer/usb/web_usb_device_impl.h ('k') | device/serial/data_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/usb/web_usb_device_impl.cc
diff --git a/content/renderer/usb/web_usb_device_impl.cc b/content/renderer/usb/web_usb_device_impl.cc
index d9b1dd8c66d567ba526416756e733fb541ec6304..e59d5bf5dcf844198c563ffde237ca372dce7e00 100644
--- a/content/renderer/usb/web_usb_device_impl.cc
+++ b/content/renderer/usb/web_usb_device_impl.cc
@@ -106,4 +106,8 @@
RejectAsNotImplemented(callbacks);
}
+void WebUSBDeviceImpl::OnConnectionError() {
+ device_.reset();
+}
+
} // namespace content
« no previous file with comments | « content/renderer/usb/web_usb_device_impl.h ('k') | device/serial/data_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698