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

Unified Diff: chrome/browser/extensions/api/usb/usb_api.h

Issue 11577017: Update USB extension API with suggestions from review. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Picking up IDL lexer changes. Created 8 years 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 | « no previous file | chrome/browser/extensions/api/usb/usb_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/usb/usb_api.h
diff --git a/chrome/browser/extensions/api/usb/usb_api.h b/chrome/browser/extensions/api/usb/usb_api.h
index 7c79270ea6d3d99406371b90078a6dfcbd991514..4b27b28536b7c0a5d7d5d43e664feb3ad9b2c229 100644
--- a/chrome/browser/extensions/api/usb/usb_api.h
+++ b/chrome/browser/extensions/api/usb/usb_api.h
@@ -44,11 +44,11 @@ class UsbAsyncApiTransferFunction : public UsbAsyncApiFunction {
UsbAsyncApiTransferFunction();
virtual ~UsbAsyncApiTransferFunction();
- bool ConvertDirectionSafely(const std::string& input,
+ bool ConvertDirectionSafely(const extensions::api::usb::Direction& input,
UsbDevice::TransferDirection* output);
- bool ConvertRequestTypeSafely(const std::string& input,
+ bool ConvertRequestTypeSafely(const extensions::api::usb::RequestType& input,
UsbDevice::TransferRequestType* output);
- bool ConvertRecipientSafely(const std::string& input,
+ bool ConvertRecipientSafely(const extensions::api::usb::Recipient& input,
UsbDevice::TransferRecipient* output);
void OnCompleted(UsbTransferStatus status,
« no previous file with comments | « no previous file | chrome/browser/extensions/api/usb/usb_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698