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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api.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
« no previous file with comments | « extensions/browser/api/bluetooth/OWNERS ('k') | extensions/browser/api/bluetooth/bluetooth_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « extensions/browser/api/bluetooth/OWNERS ('k') | extensions/browser/api/bluetooth/bluetooth_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698