| Index: device/bluetooth/bluetooth_socket_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.cc b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| similarity index 86%
|
| rename from chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.cc
|
| rename to device/bluetooth/bluetooth_socket_chromeos.cc
|
| index f86f9c56092ad1eb4e7dd64929473970e546e605..7e75a9dce29a34556b28409a9603120ca9b7b3e7 100644
|
| --- a/chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.cc
|
| +++ b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/chromeos/bluetooth/bluetooth_socket_chromeos.h"
|
| +#include "device/bluetooth/bluetooth_socket_chromeos.h"
|
|
|
| #include <vector>
|
|
|
| @@ -15,8 +15,11 @@
|
| #include <unistd.h>
|
|
|
| #include "base/logging.h"
|
| -#include "chrome/browser/chromeos/bluetooth/bluetooth_service_record.h"
|
| -#include "chrome/browser/chromeos/bluetooth/bluetooth_utils.h"
|
| +#include "device/bluetooth/bluetooth_service_record.h"
|
| +#include "device/bluetooth/bluetooth_utils.h"
|
| +
|
| +using device::BluetoothServiceRecord;
|
| +using device::BluetoothSocket;
|
|
|
| namespace chromeos {
|
|
|
| @@ -40,7 +43,7 @@ scoped_refptr<BluetoothSocket> BluetoothSocketChromeOs::CreateBluetoothSocket(
|
| struct sockaddr_rc socket_address = { 0 };
|
| socket_address.rc_family = AF_BLUETOOTH;
|
| socket_address.rc_channel = service_record.rfcomm_channel();
|
| - bluetooth_utils::str2ba(service_record.address(),
|
| + device::bluetooth_utils::str2ba(service_record.address(),
|
| &socket_address.rc_bdaddr);
|
|
|
| int status = connect(socket_fd, (struct sockaddr *)&socket_address,
|
|
|