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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api_utils.h

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_utils.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h b/extensions/browser/api/bluetooth/bluetooth_api_utils.h
similarity index 70%
rename from chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h
rename to extensions/browser/api/bluetooth/bluetooth_api_utils.h
index 2389d5be3adf7afd0c04f2eae5833296d766fd05..082244f99f38b56122d88a26a3c388fd71e177b1 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h
+++ b/extensions/browser/api/bluetooth/bluetooth_api_utils.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
-#define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
+#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
+#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
#include "base/values.h"
-#include "chrome/common/extensions/api/bluetooth.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
+#include "extensions/common/api/bluetooth.h"
namespace extensions {
-namespace api {
+namespace core_api {
namespace bluetooth {
// Fill in a Device object from a BluetoothDevice.
@@ -24,7 +24,7 @@ void PopulateAdapterState(const device::BluetoothAdapter& adapter,
AdapterState* out);
} // namespace bluetooth
-} // namespace api
+} // namespace core_api
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_
+#endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698