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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc

Issue 2370373002: Move chrome.bluetoothLowEnergy out of //chrome. (Closed)
Patch Set: build fix Created 4 years, 3 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: 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 {

Powered by Google App Engine
This is Rietveld 408576698