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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBError.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/Source/modules/webusb/USBError.h
diff --git a/third_party/WebKit/Source/modules/webusb/USBError.h b/third_party/WebKit/Source/modules/webusb/USBError.h
deleted file mode 100644
index dc0bb37c35390ea5bc1ef48b1a611ddd5210b035..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/webusb/USBError.h
+++ /dev/null
@@ -1,32 +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 USBError_h
-#define USBError_h
-
-#include "platform/heap/Handle.h"
-#include "public/platform/modules/webusb/WebUSBError.h"
-#include "wtf/PassOwnPtr.h"
-
-namespace blink {
-
-class DOMException;
-class ScriptPromiseResolver;
-
-// USBError is used with CallbackPromiseAdapter to receive WebUSBError
-// responses. See CallbackPromiseAdapter class comments.
-class USBError {
- WTF_MAKE_NONCOPYABLE(USBError);
-public:
- // Interface required by CallbackPromiseAdapter:
- using WebType = const WebUSBError&;
- static DOMException* take(ScriptPromiseResolver*, const WebUSBError&);
-
-private:
- USBError() = delete;
-};
-
-} // namespace blink
-
-#endif // USBError_h
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp ('k') | third_party/WebKit/Source/modules/webusb/USBError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698