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

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

Issue 1573183002: bluetooth: Update BluetoothCharacteristic.value on readValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use anonymous namespace Created 4 years, 11 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/ConvertWebVectorToArrayBuffer.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h b/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
deleted file mode 100644
index 3e3643d25c1e33340f49c1c04b51f6d686468fa2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
+++ /dev/null
@@ -1,28 +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 ConvertWebVectorToArrayBuffer_h
-#define ConvertWebVectorToArrayBuffer_h
-
-#include "core/dom/DOMArrayBuffer.h"
-#include "platform/heap/Handle.h"
-#include "public/platform/WebVector.h"
-
-namespace blink {
-
-class ScriptPromiseResolver;
-
-// ConvertWebVectorToArrayBuffer is used with CallbackPromiseAdapter to receive
-// WebVector responses. See CallbackPromiseAdapter class comments.
-class ConvertWebVectorToArrayBuffer {
- STATIC_ONLY(ConvertWebVectorToArrayBuffer);
-public:
- // Interface required by CallbackPromiseAdapter:
- using WebType = const WebVector<uint8_t>&;
- static PassRefPtr<DOMArrayBuffer> take(ScriptPromiseResolver*, const WebVector<uint8_t>&);
-};
-
-} // namespace blink
-
-#endif // ConvertWebVectorToArrayBuffer_h

Powered by Google App Engine
This is Rietveld 408576698