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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h

Issue 1100483005: bluetooth: Refactor device/bluetooth for C++ Style: typedef ordering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typedefs for all of src/device/bluetooth 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: device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h
index 077aff12063447ea123ee770938da55aba946af8..a23a1178f65164f86119544c81822fde26df71b8 100644
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h
@@ -70,6 +70,9 @@ class BluetoothRemoteGattCharacteristicChromeOS
private:
friend class BluetoothRemoteGattServiceChromeOS;
+ typedef std::pair<NotifySessionCallback, ErrorCallback>
+ PendingStartNotifyCall;
+
BluetoothRemoteGattCharacteristicChromeOS(
BluetoothRemoteGattServiceChromeOS* service,
const dbus::ObjectPath& object_path);
@@ -121,8 +124,6 @@ class BluetoothRemoteGattCharacteristicChromeOS
// Calls to StartNotifySession that are pending. This can happen during the
// first remote call to start notifications.
- typedef std::pair<NotifySessionCallback, ErrorCallback>
- PendingStartNotifyCall;
std::queue<PendingStartNotifyCall> pending_start_notify_calls_;
// True, if a Start or Stop notify call to bluetoothd is currently pending.
« no previous file with comments | « device/bluetooth/bluetooth_gatt_descriptor.h ('k') | device/bluetooth/bluetooth_remote_gatt_service_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698