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

Unified Diff: device/bluetooth/bluetooth_socket_mac.h

Issue 341433004: [Bluetooth] Improve the adapter's awareness of connected devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't call DeviceRemoved for now Created 6 years, 6 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_rfcomm_channel_mac.mm ('k') | device/bluetooth/bluetooth_socket_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_mac.h
diff --git a/device/bluetooth/bluetooth_socket_mac.h b/device/bluetooth/bluetooth_socket_mac.h
index 36fc3007e30d779fa14c3109a3d903f1d6359be2..bbb107d8a38873ba6e44cd3e355f3960c30507f6 100644
--- a/device/bluetooth/bluetooth_socket_mac.h
+++ b/device/bluetooth/bluetooth_socket_mac.h
@@ -29,7 +29,7 @@ class IOBufferWithSize;
namespace device {
-class BluetoothAdapter;
+class BluetoothAdapterMac;
class BluetoothChannelMac;
// Implements the BluetoothSocket class for the Mac OS X platform.
@@ -52,7 +52,7 @@ class BluetoothSocketMac : public BluetoothSocket {
// |success_callback| will be called if the service is successfully
// registered, |error_callback| on failure with a message explaining the
// cause.
- void ListenUsingRfcomm(scoped_refptr<BluetoothAdapter> adapter,
+ void ListenUsingRfcomm(scoped_refptr<BluetoothAdapterMac> adapter,
const BluetoothUUID& uuid,
int channel_id,
const base::Closure& success_callback,
@@ -63,7 +63,7 @@ class BluetoothSocketMac : public BluetoothSocket {
// |success_callback| will be called if the service is successfully
// registered, |error_callback| on failure with a message explaining the
// cause.
- void ListenUsingL2cap(scoped_refptr<BluetoothAdapter> adapter,
+ void ListenUsingL2cap(scoped_refptr<BluetoothAdapterMac> adapter,
const BluetoothUUID& uuid,
int psm,
const base::Closure& success_callback,
@@ -155,7 +155,7 @@ class BluetoothSocketMac : public BluetoothSocket {
// Adapter the socket is registered against. This is only present when the
// socket is listening.
- scoped_refptr<BluetoothAdapter> adapter_;
+ scoped_refptr<BluetoothAdapterMac> adapter_;
// UUID of the profile being connected to, or that the socket is listening on.
device::BluetoothUUID uuid_;
« no previous file with comments | « device/bluetooth/bluetooth_rfcomm_channel_mac.mm ('k') | device/bluetooth/bluetooth_socket_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698