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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_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
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h b/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
index 66945533c6b57f089b65d3b193dbd373fe8a0919..9aa8fdd2a78eaea217bc64a1172cf398aa974997 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
+++ b/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
@@ -96,6 +96,9 @@ class BluetoothRemoteGattServiceChromeOS
private:
friend class BluetoothDeviceChromeOS;
+ typedef std::map<dbus::ObjectPath, BluetoothRemoteGattCharacteristicChromeOS*>
+ CharacteristicMap;
+
BluetoothRemoteGattServiceChromeOS(BluetoothAdapterChromeOS* adapter,
BluetoothDeviceChromeOS* device,
const dbus::ObjectPath& object_path);
@@ -127,8 +130,6 @@ class BluetoothRemoteGattServiceChromeOS
// owned by this service. Since the Chrome OS implementation uses object
// paths as unique identifiers, we also use this mapping to return
// characteristics by identifier.
- typedef std::map<dbus::ObjectPath, BluetoothRemoteGattCharacteristicChromeOS*>
- CharacteristicMap;
CharacteristicMap characteristics_;
// Indicates whether or not the characteristics of this service are known to
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698