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

Unified Diff: device/bluetooth/bluetooth_adapter_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_adapter.h ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698