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

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

Issue 420663003: Extensions: Move bluetooth APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, gn Created 6 years, 4 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_api.cc
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
similarity index 98%
rename from chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
rename to extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
index beb6e6592964cde582acad3a1fa174f3ca9a4202..981a8a059c1dfbad1c7e61890a82f0b795d0fea3 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
@@ -2,22 +2,22 @@
// 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_api.h"
+#include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h"
#include "base/bind.h"
#include "base/lazy_instance.h"
#include "base/strings/stringprintf.h"
-#include "chrome/browser/extensions/api/bluetooth_low_energy/utils.h"
-#include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h"
-#include "chrome/common/extensions/api/bluetooth_low_energy.h"
#include "content/public/browser/browser_thread.h"
+#include "extensions/browser/api/bluetooth_low_energy/utils.h"
#include "extensions/browser/event_router.h"
+#include "extensions/common/api/bluetooth/bluetooth_manifest_data.h"
+#include "extensions/common/api/bluetooth_low_energy.h"
#include "extensions/common/permissions/permissions_data.h"
using content::BrowserContext;
using content::BrowserThread;
-namespace apibtle = extensions::api::bluetooth_low_energy;
+namespace apibtle = extensions::core_api::bluetooth_low_energy;
namespace extensions {
@@ -106,7 +106,7 @@ void BluetoothLowEnergyAPI::Shutdown() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
-namespace api {
+namespace core_api {
BluetoothLowEnergyExtensionFunction::BluetoothLowEnergyExtensionFunction() {
}
@@ -769,5 +769,5 @@ void BluetoothLowEnergyWriteDescriptorValueFunction::ErrorCallback(
SendResponse(false);
}
-} // namespace api
+} // namespace core_api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698