| Index: device/bluetooth/bluetooth_pairing_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_pairing_chromeos.h b/device/bluetooth/bluetooth_pairing_chromeos.h
|
| index b50a328eed564e0ecad837be55f6a81ba0bdbde5..0a4ddb666092ca71977b664e3df091c48897fa2b 100644
|
| --- a/device/bluetooth/bluetooth_pairing_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_pairing_chromeos.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_
|
| #define DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_
|
|
|
| -#include "chromeos/dbus/bluetooth_agent_service_provider.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| +#include "device/bluetooth/dbus/bluetooth_agent_service_provider.h"
|
|
|
| namespace chromeos {
|
|
|
| @@ -36,7 +36,8 @@ class BluetoothPairingChromeOS {
|
| // calls on this object are translated into the appropriate response to
|
| // |callback|.
|
| void RequestPinCode(
|
| - const BluetoothAgentServiceProvider::Delegate::PinCodeCallback& callback);
|
| + const bluez::BluetoothAgentServiceProvider::Delegate::PinCodeCallback&
|
| + callback);
|
|
|
| // Indicates whether the device is currently pairing and expecting a
|
| // PIN Code to be returned.
|
| @@ -57,7 +58,8 @@ class BluetoothPairingChromeOS {
|
| // calls on this object are translated into the appropriate response to
|
| // |callback|.
|
| void RequestPasskey(
|
| - const BluetoothAgentServiceProvider::Delegate::PasskeyCallback& callback);
|
| + const bluez::BluetoothAgentServiceProvider::Delegate::PasskeyCallback&
|
| + callback);
|
|
|
| // Sends the Passkey |passkey| to the remote device during pairing.
|
| //
|
| @@ -79,18 +81,16 @@ class BluetoothPairingChromeOS {
|
| // from the current pairing delegate. The ConfirmPairing(), RejectPairing()
|
| // and CancelPairing() method calls on this object are translated into the
|
| // appropriate response to |callback|.
|
| - void RequestConfirmation(
|
| - uint32 passkey,
|
| - const BluetoothAgentServiceProvider::Delegate::ConfirmationCallback&
|
| - callback);
|
| + void RequestConfirmation(uint32 passkey,
|
| + const bluez::BluetoothAgentServiceProvider::
|
| + Delegate::ConfirmationCallback& callback);
|
|
|
| // Requests authorization that the current device be allowed to pair with
|
| // this device from the current pairing delegate. The ConfirmPairing(),
|
| // RejectPairing() and CancelPairing() method calls on this object are
|
| // translated into the appropriate response to |callback|.
|
| - void RequestAuthorization(
|
| - const BluetoothAgentServiceProvider::Delegate::ConfirmationCallback&
|
| - callback);
|
| + void RequestAuthorization(const bluez::BluetoothAgentServiceProvider::
|
| + Delegate::ConfirmationCallback& callback);
|
|
|
| // Confirms to the remote device during pairing that a passkey provided by
|
| // the ConfirmPasskey() delegate call is displayed on both devices.
|
| @@ -115,7 +115,7 @@ class BluetoothPairingChromeOS {
|
| // Internal method to respond to the relevant callback for a RejectPairing
|
| // or CancelPairing call.
|
| bool RunPairingCallbacks(
|
| - BluetoothAgentServiceProvider::Delegate::Status status);
|
| + bluez::BluetoothAgentServiceProvider::Delegate::Status status);
|
|
|
| // The underlying BluetoothDeviceChromeOS that owns this pairing context.
|
| BluetoothDeviceChromeOS* device_;
|
| @@ -131,11 +131,13 @@ class BluetoothPairingChromeOS {
|
|
|
| // During pairing these callbacks are set to those provided by method calls
|
| // made on the BluetoothAdapterChromeOS instance by its respective
|
| - // BluetoothAgentServiceProvider instance, and are called by our own
|
| + // bluez::BluetoothAgentServiceProvider instance, and are called by our own
|
| // method calls such as SetPinCode() and SetPasskey().
|
| - BluetoothAgentServiceProvider::Delegate::PinCodeCallback pincode_callback_;
|
| - BluetoothAgentServiceProvider::Delegate::PasskeyCallback passkey_callback_;
|
| - BluetoothAgentServiceProvider::Delegate::ConfirmationCallback
|
| + bluez::BluetoothAgentServiceProvider::Delegate::PinCodeCallback
|
| + pincode_callback_;
|
| + bluez::BluetoothAgentServiceProvider::Delegate::PasskeyCallback
|
| + passkey_callback_;
|
| + bluez::BluetoothAgentServiceProvider::Delegate::ConfirmationCallback
|
| confirmation_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothPairingChromeOS);
|
|
|