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

Unified Diff: third_party/WebKit/public/platform/modules/webusb/WebUSBTransferInfo.h

Issue 1850023002: Consume Mojo services directly in Blink's WebUSB implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't do assignments in if statements. Created 4 years, 8 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
Index: third_party/WebKit/public/platform/modules/webusb/WebUSBTransferInfo.h
diff --git a/third_party/WebKit/public/platform/modules/webusb/WebUSBTransferInfo.h b/third_party/WebKit/public/platform/modules/webusb/WebUSBTransferInfo.h
deleted file mode 100644
index c31f00ceda1103df9058ff3258af2471f30e2320..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/webusb/WebUSBTransferInfo.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebUSBTransferInfo_h
-#define WebUSBTransferInfo_h
-
-#include "public/platform/WebVector.h"
-
-namespace blink {
-
-struct WebUSBTransferInfo {
- enum class Status {
- Ok,
- Stall,
- Babble,
- };
-
- WebUSBTransferInfo()
- {
- }
-
- // Individual packet statuses. This vector has only one element if this is
- // not an isochronous transfer.
- WebVector<Status> status;
-
- // Data received, if this is an inbound transfer.
- WebVector<uint8_t> data;
-
- // Requested length of each packet if this is an inbound isochronous
- // transfer.
- WebVector<uint32_t> packetLength;
-
- // Number of bytes written if this is an outbound transfer. This vector has
- // only one element if this is not an isochronous transfer otherwise it is
- // the number of bytes transferred in each isochronous packet (inbound or
- // outbound).
- WebVector<uint32_t> bytesTransferred;
-};
-
-} // namespace blink
-
-#endif // WebUSBTransferInfo_h
« no previous file with comments | « third_party/WebKit/public/platform/modules/webusb/WebUSBError.h ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698