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

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

Issue 1945823003: bluetooth: Remove BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Remove fake adapters Created 4 years, 7 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/BluetoothAdvertisingData.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.h
deleted file mode 100644
index 4aef9b80d62e14828bc98f8fb03b9acfd66fc47c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.h
+++ /dev/null
@@ -1,37 +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 BluetoothAdvertisingData_h
-#define BluetoothAdvertisingData_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-// Represents the data a BLE device is advertising.
-class BluetoothAdvertisingData final
- : public GarbageCollected<BluetoothAdvertisingData>
- , public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-public:
- static BluetoothAdvertisingData* create(int8_t txPower, int8_t rssi);
-
- // IDL exposed interface:
- int8_t txPower(bool& isNull);
- int8_t rssi(bool& isNull);
-
- // Interface required by garbage collection.
- DEFINE_INLINE_TRACE() { }
-
-private:
- explicit BluetoothAdvertisingData(int8_t txPower, int8_t rssi);
-
- int8_t m_txPower;
- int8_t m_rssi;
-};
-
-} // namespace blink
-
-#endif // BluetoothAdvertisingData_h

Powered by Google App Engine
This is Rietveld 408576698