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

Side by Side Diff: extensions/common/api/usb.idl

Issue 268713013: Move chrome.usb to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 7 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 | « extensions/common/api/api.gyp ('k') | extensions/extensions.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Use the <code>chrome.usb</code> API to interact with connected USB 5 // Use the <code>chrome.usb</code> API to interact with connected USB
6 // devices. This API provides access to USB operations from within the context 6 // devices. This API provides access to USB operations from within the context
7 // of an app. Using this API, apps can function as drivers for hardware devices. 7 // of an app. Using this API, apps can function as drivers for hardware devices.
8 namespace usb { 8 namespace usb {
9 9
10 // Direction, Recipient, RequestType, and TransferType all map to their 10 // Direction, Recipient, RequestType, and TransferType all map to their
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // In that case you must call |getDevices| or |findDevices| again to acquire 298 // In that case you must call |getDevices| or |findDevices| again to acquire
299 // the device. 299 // the device.
300 // 300 //
301 // |handle|: A connection handle to reset. 301 // |handle|: A connection handle to reset.
302 // |callback|: Invoked once the device is reset with a boolean indicating 302 // |callback|: Invoked once the device is reset with a boolean indicating
303 // whether the reset is completed successfully. 303 // whether the reset is completed successfully.
304 static void resetDevice(ConnectionHandle handle, 304 static void resetDevice(ConnectionHandle handle,
305 ResetDeviceCallback callback); 305 ResetDeviceCallback callback);
306 }; 306 };
307 }; 307 };
OLDNEW
« no previous file with comments | « extensions/common/api/api.gyp ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698