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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_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/bluetooth_private_api.cc
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
similarity index 95%
rename from chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
rename to extensions/browser/api/bluetooth/bluetooth_private_api.cc
index 861197df9b3a59e9056dbd62150b2134978865fe..8729f73b108488a895bd50d54e6f093b6118634e 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
@@ -2,18 +2,18 @@
// 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_private_api.h"
+#include "extensions/browser/api/bluetooth/bluetooth_private_api.h"
#include "base/callback.h"
#include "base/lazy_instance.h"
#include "base/strings/string_util.h"
-#include "chrome/browser/extensions/api/bluetooth/bluetooth_api.h"
-#include "chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h"
-#include "chrome/common/extensions/api/bluetooth_private.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
+#include "extensions/browser/api/bluetooth/bluetooth_api.h"
+#include "extensions/browser/api/bluetooth/bluetooth_event_router.h"
+#include "extensions/common/api/bluetooth_private.h"
-namespace bt_private = extensions::api::bluetooth_private;
+namespace bt_private = extensions::core_api::bluetooth_private;
namespace extensions {
@@ -58,7 +58,7 @@ void BluetoothPrivateAPI::OnListenerRemoved(const EventListenerInfo& details) {
details.extension_id);
}
-namespace api {
+namespace core_api {
namespace {
@@ -285,6 +285,6 @@ bool BluetoothPrivateSetPairingResponseFunction::DoWork(
return true;
}
-} // namespace api
+} // namespace core_api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698