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

Unified Diff: chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc

Issue 1307153002: Fixed bluetooth read write not supported errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 4 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_gatt_descriptor_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc
diff --git a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc
index 71a03c814ac2b35fb8801515cb3dd43fa3d962be..61bbb8dd92042fa88f0776c960b69cc999cc28ec 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc
+++ b/chromeos/dbus/fake_bluetooth_gatt_characteristic_client.cc
@@ -149,7 +149,7 @@ void FakeBluetoothGattCharacteristicClient::ReadValue(
}
if (object_path.value() == heart_rate_control_point_path_) {
- error_callback.Run("org.bluez.Error.ReadNotPermitted",
+ error_callback.Run("org.bluez.Error.NotPermitted",
"Reads of this value are not allowed");
return;
}
@@ -226,7 +226,7 @@ void FakeBluetoothGattCharacteristicClient::WriteValue(
}
if (object_path.value() != heart_rate_control_point_path_) {
- error_callback.Run("org.bluez.Error.WriteNotPermitted",
+ error_callback.Run("org.bluez.Error.NotPermitted",
"Writes of this value are not allowed");
return;
}
« no previous file with comments | « no previous file | chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698