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

Unified Diff: Source/modules/bluetooth/BluetoothGATTService.h

Issue 1114093005: bluetooth: Stub out BluetoothGATTService. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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: Source/modules/bluetooth/BluetoothGATTService.h
diff --git a/Source/modules/bluetooth/BluetoothUUIDsService.h b/Source/modules/bluetooth/BluetoothGATTService.h
similarity index 51%
copy from Source/modules/bluetooth/BluetoothUUIDsService.h
copy to Source/modules/bluetooth/BluetoothGATTService.h
index 83b4d45cc7dc22edfb7e3241dc636acfe83ee670..357cfd1c01a33545823585248c80d11302380b4f 100644
--- a/Source/modules/bluetooth/BluetoothUUIDsService.h
+++ b/Source/modules/bluetooth/BluetoothGATTService.h
@@ -2,25 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BluetoothUUIDsService_h
-#define BluetoothUUIDsService_h
+#ifndef BluetoothGATTService_h
+#define BluetoothGATTService_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
namespace blink {
-// Standarized services listed in
-// https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx
-class BluetoothUUIDsService final
- : public GarbageCollected<BluetoothUUIDsService>
+// Represents a GATT Service within a Bluetooth Peripheral, a collection of
+// characteristics and relationships to other services that encapsulate the
+// behavior of part of a device.
+class BluetoothGATTService final
+ : public GarbageCollected<BluetoothGATTService>
, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
-
DEFINE_INLINE_TRACE() { }
};
} // namespace blink
-#endif // BluetoothUUIDsServices_h
+#endif // BluetoothGATTService_h
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/bluetooth/BluetoothGATTService.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698