Chromium Code Reviews| Index: device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h |
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h b/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f0ba27d711f377add3f5cadcbe420f7e687ccf48 |
| --- /dev/null |
| +++ b/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2016 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 DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTES_HELPER_H_ |
| +#define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTES_HELPER_H_ |
| + |
| +#include "dbus/object_path.h" |
| + |
| +namespace dbus { |
| +class MessageReader; |
| +class MethodCall; |
|
xiyuan
2016/05/17 18:06:29
not used?
rkc
2016/05/17 18:42:59
Done.
|
| +} |
| + |
| +namespace bluez { |
| + |
| +// Helper methods used from various GATT attribute providers and clients. |
| +dbus::ObjectPath ReadDevicePath(dbus::MessageReader* reader); |
| + |
| +} // namespace bluez |
| + |
| +#endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTES_HELPER_H_ |