Index: device/bluetooth/bluetooth_device.h |
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h |
index cb1e7ec6994f4ad565b5c5d2a36e9f0d795079ac..8beef1ff9636b8e9147cc0016a90c52a3280cbbe 100644 |
--- a/device/bluetooth/bluetooth_device.h |
+++ b/device/bluetooth/bluetooth_device.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_vector.h" |
#include "base/strings/string16.h" |
+#include "net/base/net_log.h" |
namespace device { |
@@ -240,7 +241,7 @@ class BluetoothDevice { |
// The ErrorCallback is used for methods that can fail in which case it |
// is called, in the success case the callback is simply not called. |
- typedef base::Callback<void()> ErrorCallback; |
+ typedef base::Callback<void(const std::string&)> ErrorCallback; |
keybuk
2014/03/20 01:21:56
What are the possible values of this string?
Is th
rpaquay
2014/03/20 18:21:11
The intent is to provide a descriptive error messa
keybuk
2014/03/20 18:38:40
Okay, is the policy that those are always English?
rpaquay
2014/03/25 20:06:10
Yeah, the message are always English, and platform
|
// The ConnectErrorCallback is used for methods that can fail with an error, |
// passed back as an error code argument to this callback. |