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

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

Issue 1521803002: Match WebUSB errors more closely to the specificiation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « third_party/WebKit/Source/modules/webusb/USBError.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/webusb/WebUSBError.h
diff --git a/third_party/WebKit/public/platform/modules/webusb/WebUSBError.h b/third_party/WebKit/public/platform/modules/webusb/WebUSBError.h
index 6bc06bbe504079fa6013ccdf516c818d112ae47c..e48a1d7df2616d4938df078c2aefe0a227120a38 100644
--- a/third_party/WebKit/public/platform/modules/webusb/WebUSBError.h
+++ b/third_party/WebKit/public/platform/modules/webusb/WebUSBError.h
@@ -13,10 +13,9 @@ namespace blink {
// satisfied.
struct WebUSBError {
enum class Error {
- Device,
+ Network,
+ NotFound,
Security,
- Service,
- Transfer,
};
WebUSBError(Error error, const WebString& message)
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBError.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698