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

Unified Diff: chromeos/dbus/fake_bluetooth_device_client.h

Issue 15016004: Bluetooth: Parse the bluez.Error.Failed on pairing error. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | « no previous file | chromeos/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_bluetooth_device_client.h
diff --git a/chromeos/dbus/fake_bluetooth_device_client.h b/chromeos/dbus/fake_bluetooth_device_client.h
index f5ac24c2f05abba56f2596acd0ee74bda5793fa0..9ce85b229eb9f42f66704bf3ce1e4e159a3f5808 100644
--- a/chromeos/dbus/fake_bluetooth_device_client.h
+++ b/chromeos/dbus/fake_bluetooth_device_client.h
@@ -131,6 +131,11 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
static const char kUnconnectableDeviceAddress[];
static const uint32 kUnconnectableDeviceClass;
+ static const char kUnpairableDevicePath[];
+ static const char kUnpairableDeviceName[];
+ static const char kUnpairableDeviceAddress[];
+ static const uint32 kUnpairableDeviceClass;
+
private:
// Property callback passed when we create Properties* structures.
void OnPropertyChanged(const dbus::ObjectPath& object_path,
@@ -151,6 +156,9 @@ class CHROMEOS_EXPORT FakeBluetoothDeviceClient
void RejectSimulatedPairing(
const dbus::ObjectPath& object_path,
const ErrorCallback& error_callback);
+ void FailSimulatedPairing(
+ const dbus::ObjectPath& object_path,
+ const ErrorCallback& error_callback);
void AddInputDeviceIfNeeded(
const dbus::ObjectPath& object_path,
Properties* properties);
« no previous file with comments | « no previous file | chromeos/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698