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

Side by Side Diff: content/renderer/usb/web_usb_device_impl.cc

Issue 1310103002: 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/usb/web_usb_device_impl.h" 5 #include "content/renderer/usb/web_usb_device_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/renderer/usb/type_converters.h" 10 #include "content/renderer/usb/type_converters.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 size_t data_size, 99 size_t data_size,
100 unsigned int timeout, 100 unsigned int timeout,
101 blink::WebUSBDeviceBulkTransferCallbacks* callbacks) { 101 blink::WebUSBDeviceBulkTransferCallbacks* callbacks) {
102 RejectAsNotImplemented(callbacks); 102 RejectAsNotImplemented(callbacks);
103 } 103 }
104 104
105 void WebUSBDeviceImpl::reset(blink::WebUSBDeviceResetCallbacks* callbacks) { 105 void WebUSBDeviceImpl::reset(blink::WebUSBDeviceResetCallbacks* callbacks) {
106 RejectAsNotImplemented(callbacks); 106 RejectAsNotImplemented(callbacks);
107 } 107 }
108 108
109 void WebUSBDeviceImpl::OnConnectionError() {
110 device_.reset();
111 }
112
113 } // namespace content 109 } // namespace content
OLDNEW
« 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