Index: content/browser/bluetooth/bluetooth_dispatcher_host.h |
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
index 1cc27c594d54ad99757e47edf0da1aec828c0965..1aaf8db0c23330dda215db155925d48a8a0598ba 100644 |
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.h |
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
@@ -10,6 +10,7 @@ |
#include "content/common/bluetooth/bluetooth_error.h" |
#include "content/public/browser/browser_message_filter.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
+#include "device/bluetooth/bluetooth_gatt_connection.h" |
namespace content { |
@@ -49,6 +50,7 @@ class BluetoothDispatcherHost final |
void OnRequestDevice(int thread_id, int request_id); |
void OnConnectGATT(int thread_id, int request_id, |
const std::string& device_instance_id); |
+ |
scheib
2015/05/05 04:00:43
?
|
void OnSetBluetoothMockDataSetForTesting(const std::string& name); |
// Callbacks for BluetoothAdapter::StartDiscoverySession. |
@@ -68,6 +70,18 @@ class BluetoothDispatcherHost final |
void OnDiscoverySessionStopped(int thread_id, int request_id); |
void OnDiscoverySessionStoppedError(int thread_id, int request_id); |
+ // Callbacks for BluetoothDevice::CreateGattConnection |
+ void OnGATTConnectionCreated( |
+ int thread_id, |
+ int request_id, |
+ const std::string& device_instance_id, |
+ scoped_ptr<device::BluetoothGattConnection> connection); |
+ void OnCreateGATTConnectionError( |
+ int thread_id, |
+ int request_id, |
+ const std::string& device_instance_id, |
+ device::BluetoothDevice::ConnectErrorCode error_code); |
+ |
// A BluetoothAdapter instance representing an adapter of the system. |
scoped_refptr<device::BluetoothAdapter> adapter_; |