Index: device/bluetooth/bluetooth_adapter_chromeos.h |
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h |
index 39a23dec2c7a0edae10ec76aae2e890754746b55..92df3733238c26b6bbcc253818319cf7f6ff8dab 100644 |
--- a/device/bluetooth/bluetooth_adapter_chromeos.h |
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h |
@@ -170,6 +170,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS |
typedef std::pair<base::Closure, ErrorCallback> DiscoveryCallbackPair; |
typedef std::queue<DiscoveryCallbackPair> DiscoveryCallbackQueue; |
+ // Callback pair for the profile registration queue. |
+ typedef std::pair<base::Closure, ErrorCompletionCallback> |
+ RegisterProfileCompletionPair; |
+ |
BluetoothAdapterChromeOS(); |
~BluetoothAdapterChromeOS() override; |
@@ -350,10 +354,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS |
// The profiles we have registered with the bluetooth daemon. |
std::map<device::BluetoothUUID, BluetoothAdapterProfileChromeOS*> profiles_; |
- // Callback pair for the profile registration queue. |
- typedef std::pair<base::Closure, ErrorCompletionCallback> |
- RegisterProfileCompletionPair; |
- |
// Queue of delegates waiting for a profile to register. |
std::map<device::BluetoothUUID, std::vector<RegisterProfileCompletionPair>*> |
profile_queues_; |