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

Unified Diff: device/bluetooth/bluetooth_device_experimental_chromeos.h

Issue 14487002: Bluetooth: Profile support for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle EINTR. Detect disconnection during Receive and Send Created 7 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
Index: device/bluetooth/bluetooth_device_experimental_chromeos.h
diff --git a/device/bluetooth/bluetooth_device_experimental_chromeos.h b/device/bluetooth/bluetooth_device_experimental_chromeos.h
index 0a19d26c48c25795f5f8b35d7a79a8c350712f28..7f3a2b78d0e04298e52ae7653f360ae815b35e6c 100644
--- a/device/bluetooth/bluetooth_device_experimental_chromeos.h
+++ b/device/bluetooth/bluetooth_device_experimental_chromeos.h
@@ -175,6 +175,15 @@ class BluetoothDeviceExperimentalChromeOS
// |error_code| specifies the reason for failure.
void RecordPairingResult(bool success, ConnectErrorCode error_code);
+ // Called by dbus:: on completion of the D-Bus method call to
+ // 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);
+
// Return the object path of the device; used by
// BluetoothAdapterExperimentalChromeOS
const dbus::ObjectPath& object_path() const { return object_path_; }

Powered by Google App Engine
This is Rietveld 408576698