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

Unified Diff: device/bluetooth/bluetooth_device_chromeos.h

Issue 180163009: chrome.bluetooth API improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ChromeOS Full build. Created 6 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_device.h ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_chromeos.h
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
index 98475f21c0480d86196ef117b0e3eebdb534c4fb..0dc51337f6ea19b6044bd8e4edcd95ac37dac111 100644
--- a/device/bluetooth/bluetooth_device_chromeos.h
+++ b/device/bluetooth/bluetooth_device_chromeos.h
@@ -57,7 +57,7 @@ class BluetoothDeviceChromeOS
virtual void ConnectToProfile(
device::BluetoothProfile* profile,
const base::Closure& callback,
- const ErrorCallback& error_callback) OVERRIDE;
+ const ConnectToProfileErrorCallback& error_callback) OVERRIDE;
virtual void SetOutOfBandPairingData(
const device::BluetoothOutOfBandPairingData& data,
const base::Closure& callback,
@@ -140,10 +140,11 @@ class BluetoothDeviceChromeOS
// connect a peofile.
void OnConnectProfile(device::BluetoothProfile* profile,
const base::Closure& callback);
- void OnConnectProfileError(device::BluetoothProfile* profile,
- const ErrorCallback& error_callback,
- const std::string& error_name,
- const std::string& error_message);
+ void OnConnectProfileError(
+ device::BluetoothProfile* profile,
+ const ConnectToProfileErrorCallback& error_callback,
+ const std::string& error_name,
+ const std::string& error_message);
// Returns the object path of the device; used by BluetoothAdapterChromeOS
const dbus::ObjectPath& object_path() const { return object_path_; }
« no previous file with comments | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698