| Index: extensions/browser/api/bluetooth/bluetooth_api.h
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h b/extensions/browser/api/bluetooth/bluetooth_api.h
|
| similarity index 91%
|
| rename from chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| rename to extensions/browser/api/bluetooth/bluetooth_api.h
|
| index 0d26080669e709e7f1d51e70a2da4f832f88b435..b395eb59bafb069ceedbaa35f704f604ce65a879 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_api.h
|
| @@ -2,19 +2,19 @@
|
| // 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_H_
|
| -#define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_H_
|
| +#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_H_
|
| +#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_H_
|
|
|
| #include <string>
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h"
|
| -#include "chrome/common/extensions/api/bluetooth.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| +#include "extensions/browser/api/bluetooth/bluetooth_extension_function.h"
|
| #include "extensions/browser/browser_context_keyed_api_factory.h"
|
| #include "extensions/browser/event_router.h"
|
| #include "extensions/browser/extension_function.h"
|
| +#include "extensions/common/api/bluetooth.h"
|
|
|
| namespace content {
|
| class BrowserContext;
|
| @@ -64,7 +64,7 @@ class BluetoothAPI : public BrowserContextKeyedAPI,
|
| scoped_ptr<BluetoothEventRouter> event_router_;
|
| };
|
|
|
| -namespace api {
|
| +namespace core_api {
|
|
|
| class BluetoothGetAdapterStateFunction : public BluetoothExtensionFunction {
|
| public:
|
| @@ -131,7 +131,7 @@ class BluetoothStopDiscoveryFunction : public BluetoothExtensionFunction {
|
| void OnErrorCallback();
|
| };
|
|
|
| -} // namespace api
|
| +} // namespace core_api
|
| } // namespace extensions
|
|
|
| -#endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_H_
|
| +#endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_H_
|
|
|