| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BluetoothUUIDsService_h | 5 #ifndef BluetoothGATTService_h |
| 6 #define BluetoothUUIDsService_h | 6 #define BluetoothGATTService_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // Standarized services listed in | 13 // Represents a GATT Service within a Bluetooth Peripheral, a collection of |
| 14 // https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx | 14 // characteristics and relationships to other services that encapsulate the |
| 15 class BluetoothUUIDsService final | 15 // behavior of part of a device. |
| 16 : public GarbageCollected<BluetoothUUIDsService> | 16 class BluetoothGATTService final |
| 17 : public GarbageCollected<BluetoothGATTService> |
| 17 , public ScriptWrappable { | 18 , public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| 19 public: | 20 public: |
| 20 | |
| 21 DEFINE_INLINE_TRACE() { } | 21 DEFINE_INLINE_TRACE() { } |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace blink | 24 } // namespace blink |
| 25 | 25 |
| 26 #endif // BluetoothUUIDsServices_h | 26 #endif // BluetoothGATTService_h |
| OLD | NEW |