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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.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_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;
}

Powered by Google App Engine
This is Rietveld 408576698