| Index: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| similarity index 91%
|
| rename from chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| rename to extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| index 615f79a38bddbb0990cf2707eb76cdd43e09f1cf..7ffbe632b793261e20f28b2d4a736694be47329f 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| @@ -2,27 +2,27 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h"
|
| +#include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h"
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| -#include "chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h"
|
| -#include "chrome/common/extensions/api/bluetooth_private.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| +#include "extensions/browser/api/bluetooth/bluetooth_api_utils.h"
|
| #include "extensions/browser/event_router.h"
|
| #include "extensions/browser/extension_system.h"
|
| +#include "extensions/common/api/bluetooth_private.h"
|
|
|
| namespace extensions {
|
|
|
| -namespace bt_private = api::bluetooth_private;
|
| +namespace bt_private = core_api::bluetooth_private;
|
|
|
| namespace {
|
|
|
| void PopulatePairingEvent(const device::BluetoothDevice* device,
|
| bt_private::PairingEventType type,
|
| bt_private::PairingEvent* out) {
|
| - api::bluetooth::BluetoothDeviceToApiDevice(*device, &out->device);
|
| + core_api::bluetooth::BluetoothDeviceToApiDevice(*device, &out->device);
|
| out->pairing = type;
|
| }
|
|
|
|
|