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

Unified Diff: trunk/src/device/bluetooth/bluetooth_device.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_device.h
===================================================================
--- trunk/src/device/bluetooth/bluetooth_device.h (revision 262179)
+++ trunk/src/device/bluetooth/bluetooth_device.h (working copy)
@@ -12,7 +12,6 @@
#include "base/memory/scoped_vector.h"
#include "base/strings/string16.h"
#include "device/bluetooth/bluetooth_uuid.h"
-#include "net/base/net_log.h"
namespace device {
@@ -336,12 +335,9 @@
// identified by |profile|, on success the profile's connection callback
// will be called as well as |callback|; on failure |error_callback| will be
// called.
- typedef base::Callback<void(const std::string&)>
- ConnectToProfileErrorCallback;
- virtual void ConnectToProfile(
- BluetoothProfile* profile,
- const base::Closure& callback,
- const ConnectToProfileErrorCallback& error_callback) = 0;
+ virtual void ConnectToProfile(BluetoothProfile* profile,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) = 0;
// Sets the Out Of Band pairing data for this device to |data|. Exactly one
// of |callback| or |error_callback| will be run.
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_adapter_win.cc ('k') | trunk/src/device/bluetooth/bluetooth_device_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698