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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_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
Index: extensions/browser/api/bluetooth/bluetooth_private_api.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h b/extensions/browser/api/bluetooth/bluetooth_private_api.h
similarity index 89%
rename from chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h
rename to extensions/browser/api/bluetooth/bluetooth_private_api.h
index 4960e0774a630b70f0970fce0c0167bcae4e5c8a..05208618c211bd70e7ee03f412c4423f670c6fd2 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h
+++ b/extensions/browser/api/bluetooth/bluetooth_private_api.h
@@ -2,11 +2,11 @@
// 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_PRIVATE_API_H_
-#define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
+#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
+#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
#include "base/callback_forward.h"
-#include "chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.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"
@@ -46,7 +46,7 @@ class BluetoothPrivateAPI : public BrowserContextKeyedAPI,
content::BrowserContext* browser_context_;
};
-namespace api {
+namespace core_api {
class BluetoothPrivateSetAdapterStateFunction
: public BluetoothExtensionFunction {
@@ -90,8 +90,8 @@ class BluetoothPrivateSetPairingResponseFunction
DISALLOW_COPY_AND_ASSIGN(BluetoothPrivateSetPairingResponseFunction);
};
-} // namespace api
+} // namespace core_api
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
+#endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_

Powered by Google App Engine
This is Rietveld 408576698