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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.h

Issue 2680783002: bluetooth: show better error messages for services, characteristics and descriptors (Closed)
Patch Set: Added comment and changed to enum class. Created 3 years, 10 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/bluetooth/BluetoothRemoteGATTUtils.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.h
index de176f3baefd53a41ce087a7e7caaed76cedbd26..03c365ebd7cdbe5d3d65e7689c190aa7729979d7 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.h
@@ -6,7 +6,6 @@
#define BluetoothRemoteGATTUtils_h
#include "core/dom/DOMDataView.h"
-#include "core/dom/DOMException.h"
#include "wtf/Vector.h"
namespace blink {
@@ -14,15 +13,6 @@ namespace blink {
class BluetoothRemoteGATTUtils final {
public:
static DOMDataView* ConvertWTFVectorToDataView(const WTF::Vector<uint8_t>&);
-
- enum ExceptionType {
- kGATTServerDisconnected,
- kGATTServerNotConnected,
- kInvalidCharacteristic,
- kInvalidDescriptor
- };
-
- static DOMException* CreateDOMException(ExceptionType);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698