| Index: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| similarity index 79%
|
| rename from chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| rename to extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| index 714a5bffb7accecce60fbe8051c396a3f7960c91..0d351a3760609dfc343ed79782478bc90fe09823 100644
|
| --- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| +++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
|
| @@ -2,19 +2,19 @@
|
| // 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_low_energy/bluetooth_low_energy_notify_session.h"
|
| +#include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h"
|
|
|
| #include "base/lazy_instance.h"
|
|
|
| namespace extensions {
|
|
|
| static base::LazyInstance<BrowserContextKeyedAPIFactory<
|
| - ApiResourceManager<BluetoothLowEnergyNotifySession> > > g_factory =
|
| - LAZY_INSTANCE_INITIALIZER;
|
| + ApiResourceManager<BluetoothLowEnergyNotifySession>>>
|
| + g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| template <>
|
| BrowserContextKeyedAPIFactory<
|
| - ApiResourceManager<BluetoothLowEnergyNotifySession> >*
|
| + ApiResourceManager<BluetoothLowEnergyNotifySession>>*
|
| ApiResourceManager<BluetoothLowEnergyNotifySession>::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
| @@ -27,8 +27,7 @@ BluetoothLowEnergyNotifySession::BluetoothLowEnergyNotifySession(
|
| persistent_(persistent),
|
| session_(session.release()) {}
|
|
|
| -BluetoothLowEnergyNotifySession::~BluetoothLowEnergyNotifySession() {
|
| -}
|
| +BluetoothLowEnergyNotifySession::~BluetoothLowEnergyNotifySession() {}
|
|
|
| device::BluetoothGattNotifySession*
|
| BluetoothLowEnergyNotifySession::GetSession() const {
|
|
|