Index: device/bluetooth/bluetooth_profile_win.h |
diff --git a/device/bluetooth/bluetooth_profile_win.h b/device/bluetooth/bluetooth_profile_win.h |
index a102bf5069a769964e082f63e6f0658e473ce7c8..47334d8aebcf974436be6e7b942dff9bac9da4bb 100644 |
--- a/device/bluetooth/bluetooth_profile_win.h |
+++ b/device/bluetooth/bluetooth_profile_win.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "device/bluetooth/bluetooth_profile.h" |
+#include "net/base/net_log.h" |
namespace device { |
@@ -20,7 +21,15 @@ class BluetoothProfileWin : public BluetoothProfile { |
virtual void SetConnectionCallback( |
const ConnectionCallback& callback) OVERRIDE; |
- bool Connect(const BluetoothDeviceWin* device); |
+ typedef base::Callback<void(const std::string&)> ErrorCallback; |
+ |
+ void Connect(const BluetoothDeviceWin* device, |
+ scoped_refptr<base::SequencedTaskRunner> ui_task_runner, |
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner, |
+ net::NetLog* net_log, |
+ const net::NetLog::Source& source, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback); |
private: |
friend BluetoothProfile; |
@@ -31,6 +40,8 @@ class BluetoothProfileWin : public BluetoothProfile { |
const std::string uuid_; |
const std::string name_; |
ConnectionCallback connection_callback_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(BluetoothProfileWin); |
}; |
} // namespace device |