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

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

Issue 1403323007: bluetooth: WIP Advertising Data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-characteristic-properties
Patch Set: Created 5 years, 2 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.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..b0152cb1024fd7b0b3709b6d5979fc2aeeeec11d
--- /dev/null
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothAdvertisingData.cpp
@@ -0,0 +1,30 @@
+// 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.
+
+#include "config.h"
+#include "modules/bluetooth/BluetoothAdvertisingData.h"
+
+namespace blink {
+
+BluetoothAdvertisingData::BluetoothAdvertisingData()
+ // : m_appearance(0)
+ // , m_txPower(0)
+ // , m_rssi(0)
+ : m_manufacturerData(new ManufacturerDataMap())
+ // , m_serviceData(ServiceDataMap::create())
+{
+}
+
+BluetoothAdvertisingData* BluetoothAdvertisingData::create()
+{
+ return new BluetoothAdvertisingData();
+}
+
+DEFINE_TRACE(BluetoothAdvertisingData)
+{
+ // visitor->trace(m_manufacturerData);
+ // visitor->trace(m_properties);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698