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

Unified Diff: trunk/src/device/bluetooth/bluetooth_profile_win.h

Issue 227493006: Revert 262175 "* Replace "read" method with onReceiveXxx events." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/device/bluetooth/bluetooth_profile_win.h
===================================================================
--- trunk/src/device/bluetooth/bluetooth_profile_win.h (revision 262179)
+++ trunk/src/device/bluetooth/bluetooth_profile_win.h (working copy)
@@ -9,12 +9,10 @@
#include "device/bluetooth/bluetooth_profile.h"
#include "device/bluetooth/bluetooth_uuid.h"
-#include "net/base/net_log.h"
namespace device {
class BluetoothDeviceWin;
-class BluetoothSocketThreadWin;
class BluetoothProfileWin : public BluetoothProfile {
public:
@@ -23,16 +21,8 @@
virtual void SetConnectionCallback(
const ConnectionCallback& callback) OVERRIDE;
- typedef base::Callback<void(const std::string&)> ErrorCallback;
+ bool Connect(const BluetoothDeviceWin* device);
- void Connect(const BluetoothDeviceWin* device,
- scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
- scoped_refptr<BluetoothSocketThreadWin> socket_thread,
- net::NetLog* net_log,
- const net::NetLog::Source& source,
- const base::Closure& callback,
- const ErrorCallback& error_callback);
-
private:
friend BluetoothProfile;
@@ -42,8 +32,6 @@
const BluetoothUUID uuid_;
const std::string name_;
ConnectionCallback connection_callback_;
-
- DISALLOW_COPY_AND_ASSIGN(BluetoothProfileWin);
};
} // namespace device
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc ('k') | trunk/src/device/bluetooth/bluetooth_profile_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698