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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h

Issue 1984723006: Add implementation for parsing device info in read/write attribute calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devices_dbus_readwrite
Patch Set: gyp fix 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: 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_

Powered by Google App Engine
This is Rietveld 408576698